Skip to main content

error: Call to undefined method JRegistry

More
13 years 10 months ago #78909 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

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago - 13 years 10 months ago #78932 by Xavier
Hi,

Can you try to edit your file and near the line 483 replace:
Code:
$config =& JFactory::getConfig(); $locale = $config->getValue('config.language');
By:
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.

More
13 years 10 months ago - 13 years 10 months ago #78948 by plugonline
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.

More
13 years 9 months ago #80603 by Billymb3
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.

More
13 years 9 months ago #80637 by Xavier
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.179 seconds
Powered by Kunena Forum