I am having problems finding the solution to two errors on a web site I am building on a Joomla 3.0.2 platform and using the Gantry Framework.
The first error is:
Type issue
‘null’ is not an object (evaluating ‘b.appendChild’)
The second error is:
Type issue
‘undefined’ is not an object (evaluating ‘rikgallery_slideshow.jump’)
I have never understood how to debug javascript errors, so I would really appreciate some help.
The site can be accessed at: http://lads.ergonomiq.net
If someone can help and needs super user access to the back end, please email me at ali.samii@ergonomiq.net
Thanks
This is meant to simply point you in the right direction, further testing will be required to fully solve your issues.
OK the first error is happening in responsive.js line 66
I would
console.log(menu, document.getElement('.menu-block'))make sure both contain an element as expected. I am guessing one of those will be null.Second error
is returning unexpected JSON
I would test the error and only proceed if you have images in your returned JSON
Line 136 of your home page.
Hope this helps