FATAL ERROR displaying product in other language

  • Posts: 7
  • Thank you received: 0
10 years 3 months ago #141073

-- 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

Attachments:

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
10 years 3 months ago #141094

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.

  • Posts: 7
  • Thank you received: 0
10 years 2 months ago #141318

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