there, when i do

Hi there, when i do a SeoSiteCheckup on i get an error in Hummingbird.

We found 2 JavaScript errors on your web page!
Uncaught TypeError: a.widget is not a function
Source file: at line: 5, column: 163
Uncaught SyntaxError: Unexpected token {
Source file: at line: 551, column: 0

There a lot's of websites we have made with this JS error. Do you have a solution for this?

Regards, Milan.

  • Kasia Swiderska

    Hello Milan,

    You would need to disable Minification in Hummingbird and check again in browser console if you still see that error. If yes, that it means something is broken with your JS scripts on site - then its matter of establishing what are those scripts and from what plugins (you would need probably run a quick plugin/theme conflict test as illustrated in getting support manual (flowchart). )

    If errors will disappear from console after disabling minification that means some of scripts does not like to be moved from header to footer and/or combined/minified.
    So next step will be to again enable Minification and re-check each JS file until you will get state where there is no more errors - it means that you wont be able to move some files to footer.

    Let me know if you have more questions.

    kind regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.