Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.5
-
Fix Version/s: 4.3.6
-
Component/s: Internationalisation, Joomla Integration, Usability
-
Labels:None
Description
At CiviCRM 4.3.5 working on Joomla! 3.1.5 with PHP version is 5.3.26, on trying to change the default language to something different then English, the system gives error as follows:
Fatal error: Call to undefined method JRegistry::getValue() in com_civicrm/civicrm/CRM/Utils/System/Joomla.php on line 567
Giving a look at the forums, this happened to others:
http://forum.civicrm.org/index.php?topic=28895.0
I couldn't reproduce the proposed solution, so I keep searching and found other problems, outside CiviCRM, with "undefined method JRegistry::getValue()" and the proposal to change "getValue" to "get". This worked for me.
I can't check this in the demo, as long as that is Joomla! 2.x.
I'm submitting the diff of that solution.
Thanks!
Hello Diego,
Thanks for submitting the patch. Did some minor modifcation ( please refer to https://github.com/civicrm/civicrm-core/pull/1425 ).
Can you please verify if this patch works for you : https://github.com/pratik-joshi/civicrm-core/commit/4965d8e99cec6b2777386c9c8d0edeaa241cf3f6 .
Thanks,
Pratik.