Default Mobile View / Yoast Conflict

Home Forums Calendar Products Events Calendar PRO Default Mobile View / Yoast Conflict

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1321184
    atomicdust
    Participant

    Hello,

    I’m implementing the “default mobile view” fix referenced here: https://theeventscalendar.com/support/forums/topic/events-being-redirected-to-eventsundefined-on-mobile/

    This does seem to work, although it seems a little buggy so I wanted to see if there is an updated fix? After implementing this function I’m redirected to: http://127.0.0.1:8080/sitename/calendar/list/?undefined=Submit … which works, but seems odd that “undefined” is in the URL.

    I also receive the following notices in the debug log with every page load:

    [14-Jul-2017 13:44:47 UTC] PHP Notice: Tribe__Events__Advanced_Functions__Register_Meta::event_category is deprecated since version 4.3 with no alternative available. in /var/www/html/public/concordia/wp-includes/functions.php on line 3834
    [14-Jul-2017 13:44:47 UTC] PHP Notice: Trying to get property of non-object in /var/www/html/public/wp-content/plugins/the-events-calendar/src/deprecated/Tribe__Events__Advanced_Functions__Register_Meta.php on line 153
    [14-Jul-2017 13:44:47 UTC] PHP Notice: Trying to get property of non-object in /var/www/html/public/wp-content/plugins/the-events-calendar/src/deprecated/Tribe__Events__Advanced_Functions__Register_Meta.php on line 153
    [14-Jul-2017 13:44:47 UTC] PHP Notice: Trying to get property of non-object in /var/www/html/public/wp-content/plugins/the-events-calendar/src/deprecated/Tribe__Events__Advanced_Functions__Register_Meta.php on line 159

    Note that the “undefined” redirect does still occur with all plugins deactivated except The Events Calendar, Events Calendar Pro, and Filter Bar, as well as Twentyfourteen theme activated. The PHP notices do not.

    Thanks,

    Tim

    #1322285
    Victor
    Member

    Hello Lauren!

    Thanks for taking your time and reporting this!

    I’ve been able to identify a small glitch that occurs when having set a different default mobile view under Events > Settings > Display tab -> Default Mobile View. Under these circumstances, it appends the undefined variable to the URL.

    I have logged a report about this so the dev team will include a fix for this in one of our future maintenance releases. I have also changed this thread’s status to “Pending fix” and linked it to the report. This way we can let you know when a fix is available.

    Regarding the PHP notices:

    Note that the “undefined” redirect does still occur with all plugins deactivated except The Events Calendar, Events Calendar Pro, and Filter Bar, as well as Twentyfourteen theme activated. The PHP notices do not.

    Under this scenario, could you please place the code snippet into the Twentyfourteen functions.php file and activate the Yoast SEO plugin? Do you get the PHP notices after that? Please let us know about it.

    Thanks,
    Victor

    #1332239
    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

    #1335947
    Victor
    Member

    Hi Lauren!

    I just wanted to follow up with this to let you know that we could not replicate this issue with the lastest version of Yoast SEO plugin 5.2.

    We are not sure, but it could be there was an issue with Yoast which has already been fixed on their side.

    Don’t hesitate to open a new topic if you still experience an issue or you have any other questions and we’d be happy to assist.

    Best,
    Victor

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Default Mobile View / Yoast Conflict’ is closed to new replies.