- Posts: 7
- Thank you received: 0
FATAL ERROR displaying product in other language
12 years 8 months ago #141073
by solen2904
FATAL ERROR displaying product in other language was created 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
-- 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.
12 years 8 months ago #141094
by nicolas
Replied by nicolas on topic FATAL ERROR displaying product in other language
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.
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.
12 years 7 months ago #141318
by solen2904
Replied by solen2904 on topic FATAL ERROR displaying product in other language
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.179 seconds