Push State Error when clicking on next/previous day or next/previous month.

Home Forums Calendar Products Events Calendar PRO Push State Error when clicking on next/previous day or next/previous month.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1193156
    icgweb
    Participant

    Hello, recently after upgrading The Events Calendar and Pro I’ve been getting errors when trying to go to the next/previous month or day:

    Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'https://tulsazoo.orgundefined/' cannot be created in a document with origin 'https://tulsazoo.org' and URL 'https://tulsazoo.org/calendar/2016-11-16/'.

    What will happen is either the loading icon will hang, or just go to a page with absolutely nothing, even though the next day/month or previous day/month is full of events.

    #1193687
    Geoff B.
    Member

    Good evening Russell and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.

    We are sorry to hear about the messages you are getting while navigating between months after the last update. I would love to help you with this topic.

    From what I can see, I have a couple of recommendations.

    First of all, I would recommend tackling the Google maps API message from the Console in Google Chrome’s developer tools.

    More specifically, you might be interested in:

    1. https://theeventscalendar.com/knowledgebase/setting-up-your-google-maps-api-key/
    2. Perhaps disabling your other Google Maps API plugin, at least for the Events Calendar pages and archives

    Secondly, I am noticing that you are using an older version of PHP.
    I would highly recommend (after a backup), upgrading to PHP 5.4+ (in fact WordPress recommends 5.6+).

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1203241
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Push State Error when clicking on next/previous day or next/previous month.’ is closed to new replies.