After login I get Fatal error:undefined method JUtility:

More
13 years 3 weeks ago #1 by Hadi
Hi Antonio,
I recently setup joomdle. Everything works fine. Today, after login from login field at Module Position, I received this error:

Fatal error: Call to undefined method JUtility::getHash() in /home/.../denverbyte.com/social3/plugins/user/joomdlehooks/joomdlehooks.php on line 127

My Joomdle worked very well with Jomsocial. Recently I added Hikashop extension. It seems to me there is not any issue with integration, because when I received above error, if I use "go back button" in browser, I am logedin and everything works without any problems, and I don't have any error in system check.

I don't know is there any conflict or I should change some codes in joomdlehooks.php.

Moodle: 2.5.0
Joomla: 3.1.1
Joomdle: 0.91 (installed two days ago)
Jomsocial: 2.8.4
Hikashop: 6.1.1

Let me know if you need any more detail.
Sincerely,
Hadi

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

More
13 years 3 weeks ago #2 by Antonio Durán
Thanks for the bug report.

I checked, and it turns out I forgot to modify 2 getHash calls in joomdlehoks plugin.

To fix it, open plugins/user/joomdlehooks/joomdlehooks.php and change Jutility::getHash by JApplication::getHash in lines 127 and 134.

I will add the fix for next release.

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

More
13 years 3 weeks ago #3 by Hadi
The solution works very well. Thank you Antonio for your great support and quick response.

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

More
13 years 3 weeks ago #4 by Jérémie
Hi Antonio,

I use the 0.91, and the solution works well to

Jérémie

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