- Posts: 16
- Thank you received: 2
error: Call to undefined method JRegistry
- plugonline
-
Topic Author
- Offline
Less
More
13 years 10 months ago #78909
by plugonline
error: Call to undefined method JRegistry was created by plugonline
Fatal error: Call to undefined method JRegistry::getValue() in ......................./public_html/administrator/components/com_hikashop/classes/category.php on line 483
how do i solve this now i cant work in the shop admin
how do i solve this now i cant work in the shop admin
Please Log in or Create an account to join the conversation.
13 years 10 months ago - 13 years 10 months ago #78932
by Xavier
Replied by Xavier on topic error: Call to undefined method JRegistry
Hi,
Can you try to edit your file and near the line 483 replace:
By:
Can you try to edit your file and near the line 483 replace:
Code:
$config =& JFactory::getConfig();
$locale = $config->getValue('config.language');
Code:
$config = JFactory::getConfig();
if(version_compare(JVERSION,'1.6.0') < 0){
$locale = $config->getValue('config.language');
} else {
$locale = $config->get('config.language');
}
Last edit: 13 years 10 months ago by Xavier.
The following user(s) said Thank You: Billymb3
Please Log in or Create an account to join the conversation.
- plugonline
-
Topic Author
- Offline
Less
More
- Posts: 16
- Thank you received: 2
13 years 10 months ago - 13 years 10 months ago #78948
by plugonline
done that looks like its working
same error for Fatal error: Call to undefined method JRegistry::getValue() in /home/betere/domains/betere-sperma.nl/public_html/administrator/components/com_hikashop/views/explorer/view.html.php on line 30
so i will try the same
edit: ok looking good now
Replied by plugonline on topic error: Call to undefined method JRegistry
Code:
}
$translationHelper = hikashop_get('helper.translation');
if($translationHelper->isMulti()){
$user =& JFactory::getUser();
$locale = $user->getParam('language');
if(empty($locale)){
$config =& JFactory::getConfig();
$locale = $config->get('config.language');
}
done that looks like its working
same error for Fatal error: Call to undefined method JRegistry::getValue() in /home/betere/domains/betere-sperma.nl/public_html/administrator/components/com_hikashop/views/explorer/view.html.php on line 30
so i will try the same
edit: ok looking good now
Last edit: 13 years 10 months ago by plugonline.
Please Log in or Create an account to join the conversation.
13 years 9 months ago #80603
by Billymb3
Replied by Billymb3 on topic error: Call to undefined method JRegistry
I got error "Call to undefined method JRegistry::getValue()" but in components/com_hikashop/helpers/translation.php on line 278 while going thru checkout using the authorize.net payment plugin and Hikashop. Applied this same fix to it and it works. Error only happens on the Joomla 3.0 install tho.
The following user(s) said Thank You: Xavier
Please Log in or Create an account to join the conversation.
13 years 9 months ago #80637
by Xavier
Replied by Xavier on topic error: Call to undefined method JRegistry
Thanks for the report, we correct it on our end.
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds