error: Call to undefined method JRegistry

  • Posts: 16
  • Thank you received: 2
11 years 5 months ago #78909

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #78932

Hi,

Can you try to edit your file and near the line 483 replace:

						$config =& JFactory::getConfig();
						$locale = $config->getValue('config.language');
By:
				$config = JFactory::getConfig();
				if(version_compare(JVERSION,'1.6.0') < 0){
					$locale = $config->getValue('config.language');
				} else {
					$locale = $config->get('config.language');
				}

Last edit: 11 years 5 months ago by Xavier.
The following user(s) said Thank You: Billymb3

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

  • Posts: 16
  • Thank you received: 2
11 years 5 months ago #78948

}
				$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: 11 years 5 months ago by plugonline.

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

  • Posts: 8
  • Thank you received: 3
11 years 5 months ago #80603

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #80637

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.057 seconds
Powered by Kunena Forum