0
Welcome Guest! Login
0 items Join Now

SOLVED Gantry 4.1.31 caused mootools-core.js error on Joomla

  • SOLVED Gantry 4.1.31 caused mootools-core.js error on Joomla

    Posted 9 years 3 weeks ago
    • My website uses Gantry default template (free) v4.1.31 with Gantry Framework 4.1.31, though I am a Paid Member of RT club. I am just not ready to upgrade to Gantry 5 and use one of those commerical template.

      Recently I noticed that when inspecting my Joomla webpage with Google Chrome, there will show an error:

      	Uncaught TypeError: Cannot read property 'appendChild' of null                          mootools-core.js:91 
      

      When I check the file path of that mootools-core.js, that is:


      Which means this is directly loaded from my Joomla core.

      But, if I switch to Joomla default template "Protostar", there is no any js error at all in Chrome panel.

      So I think this problem was caused by Gantry, right?

      I also had reported this issue on Joomla official forum: http://forum.joomla.org/viewtopic.php?f=706&t=922969&p=3395503#p3395503

      In that post, you can find detailed system information of my Joomla installation , as well as some of my server info.

      I hope Gantry team can check this for me and help me to find out the real reason.

      If this is a bug of Gantry 4.1.31, please fix it and release a new version of Gantry.

      Thank you.
    • Last Edit: 9 years 3 weeks ago by baijianpeng.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Gantry 4.1.31 caused mootools-core.js error on Joomla

    Posted 9 years 3 weeks ago
    • I think it's a bit of a leap to say that because you don't get the error on Protostar that it's automatically a Gantry 4 issue.

      I don't believe that error is cause by Gantry 4 at all. You can prove this by loading a clean rocketlauncher installation of Gantry 4.1.31 on the same server and updating it to latest Joomla version - you won't see the error then. So, I suspect that the issue is cause by one of your many extensions/scripts that you have installed, so you could try disabling these one at a time clearing server and browser cache between each change until you find the culprit.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Gantry 4.1.31 caused mootools-core.js error on Joomla

    Posted 9 years 3 weeks ago
    • You are right!

      I followed your instructions, and then found out that was a system plugin named "Ads Starter Elite", which was installed several days ago to show Google Ads.

      Now I uninstalled that plugin, no more js errors show up.

      Sorry for wronged Gantry.

      Thanks for your help. Please mark this topic as "solved".

Time to create page: 0.055 seconds