After migrating my website from Joomla 2.5 to 3.6, I get the following error when trying to view the homepage:

Fatal error: Call to undefined method Joomla\Registry\Registry::loadJSON() in C:\wamp\www\web\templates\hdchannel\html\mod_menu\yjsg_modhelper.php on line 40

what should I do to solve this error?

1 Answer 1


In Joomla 3.0, Registry::loadJSON() was removed as mentioned here, so you need to update this.

Open the following file and go to line 40:


Then replace:



  • after I do that there is error in the front page : [500 JHtmlBehavior::mootools not found. You may not be able to visit this page because of: an out-of-date bookmark/favourite a search engine that has an out-of-date listing for this site a mistyped address you have no access to this page The requested resource was not found. An error has occurred while processing your request. Please try one of the following pages: Home Page Search this site If difficulties persist, please contact the system administrator of this site. JHtmlBehavior::mootools not found.] what the wrong ? Jul 26, 2016 at 13:58
  • @SouhailMaatouk - what error is showing now? Also, have you tried installing the Joomla 3.x compatible version of your extension?
    – Lodder
    Jul 26, 2016 at 13:59
  • yes its compatible . its template : Hd Channel @Lodder Jul 26, 2016 at 14:01
  • For the JHtmlBehavior::mootools not found error, please see this: joomla.stackexchange.com/questions/4756/…
    – Lodder
    Jul 26, 2016 at 14:02
  • If you're still having problems after you've tried the link above, we can carry on chatting here: chat.stackexchange.com/rooms/14071/joomla
    – Lodder
    Jul 26, 2016 at 14:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.