Support » Theme: Spacious » JavaScript error causing WP Google Maps to fail in Firefox, IE & Safari

  • Hi,

    I’ve just implemented the WP Google Maps plugin to show maps on my site using the Spacious theme. The maps work in Chrome, but fail to load in Firefox, IE and Safari.

    The WP Google Maps team found a Javascript error occuring in this theme file:

    Here is their assessment (link to the item in their support forum)

    An error happens during jQuery’s “ready” phase, and execution halts. This means that the “ready” event doesn’t fire for our plugin, so the map is never initialised.

    If we use live source edit to cause this particular function not to run, then the map works as expected. Please see here

    You could potentially disable that by adding


    on line 134 of the file throwing this error, however please be aware that this will probably break the functionality of your theme and may lead to unexpected results.

    You would need to reach out to the theme author for a concrete fix on this.


    Please advise how I can resolve this error. Should I try their recommended solution? I don’t want to break the theme.


    (One additional note – I did recently update to the latest version of the theme (1.6.5). It is possible – though I can’t now confirm this, that this may not have happened when I was on 1.6.3.)

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    It seems you are using a child theme. So, can you tally the header.php file in the child theme with the parent theme and manage it?



    Thanks for your reply. I am using a child theme. I’m not sure what you mean by “tally the header.php file in the child theme with the parent theme and manage it”?

    Are you perhaps suggesting that I should recreate my child theme changes in the most current version of the header.php from the parent theme? That certainly seems like something worth doing regardless, but I want to be sure I’m doing what you think will help with this particular problem.

    Let me know – thanks!


    Hi Rahesh,

    I created an updated version of my child theme’s header.php using the current version of the parent theme’s header.php. That seems to have done the trick.

    Thanks so much!


    Glad to know it worked. Feel free to ask again if you get any issue regarding the theme. If you liked this theme, you can help us by leaving a review.


Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.