Skip to main content

FATAL ERROR displaying product in other language

More
12 years 8 months ago #141073 by solen2904
-- url of the page with the problem -- : http://localhost/universolen/index.php/en/all-jewelry/product/1-ailette-black-beauty
-- HikaShop version -- : business 2.2.23
-- Joomla version -- : 2.5.1
-- PHP version -- : 5.4.4-14
-- Browser(s) name and version -- : FIREFOX 26.0
-- Message: FATAL ERROR call to undefined method in stdClass::get() in /libraries/joomfish/translatable/translationobject.php line 311
We could display all, but not the page with the product detail.
Could not see what it is
thank you for your help
detail image of page with message in attachement

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

More
12 years 8 months ago #141094 by nicolas
Hi,

That's a common bug of JoomFish.

You need to change the line:
$key = $dbObject->get('_tbl_key');
to:
if(!method_exists($dbObject,'get')){ return null; }else{ $key = $dbObject->get('_tbl_key'); }

in the file /libraries/joomfish/translatable/translationobject.php and that will fix the problem.
The following user(s) said Thank You: solen2904

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

More
12 years 7 months ago #141318 by solen2904
SOLVED! I just changed this line and now MERCI A VOUS TOUS!

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

Time to create page: 0.161 seconds
Powered by Kunena Forum