Joomfish issue

  • Posts: 15
  • Thank you received: 0
11 years 8 months ago #92973

Hi,

I am having an issue with Joomfish:
I see all Hikashop elements in Joomfish correctly and translated some of them to try and everything show perfectly on my product listing page. French and English.
However, when I click on the product page link I get a Fatal Error:
Fatal error: Call to undefined method stdClass::get() in C:\wamp\www\MyCV\libraries\joomfish\translatable\translationobject.php on line 311 (screenshot attached).

It still works fine in English, it is only when I switch to French that this happens.
(I have selected yes and yes in Hikashop Parameters language tab)

Any idea where this might be coming from?

Thank you

Attachments:

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

  • Posts: 15
  • Thank you received: 0
11 years 8 months ago #92975

I am using Joomla 2.5 and joomfish 2.5.1

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

  • Posts: 15
  • Thank you received: 0
11 years 8 months ago #92976

Also worth mentionning, I also tried to re-install Hikashop as I initially had installed Hikashop and then Joomfish.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
11 years 8 months ago #92979

That error is in JoomFish. You should contact JoomFish.

As a simple workaround, you can try to remove the code

$key = $dbObject->get('_tbl_key');
		$db->setQuery("SELECT * FROM " . $dbObject->get('_tbl') . " WHERE " . $key . "='" . $dbObject->$key . "'");
		$origObject = $db->loadObject('stdClass', false);
in the file libraries\joomfish\translatable\translationobject.php
That should remove the error.

The following user(s) said Thank You: Dundaho27

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

  • Posts: 15
  • Thank you received: 0
11 years 8 months ago #92982

Hi Nicolas,

It worked perfectly, thank you so much! (and so quick as well!!)

Is this change affecting any setting I shall know of in Joomfish?

Thanks again,
Regards

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
11 years 8 months ago #92983

I don't know. That's why I'm telling you to contact JoomFish. What I told you to do is just a quick and dirty hack.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum