• Resolved lmabee

    (@lmabee)


    Hello WPressers & Support Crew,
    I’ve noticed since The Events Calendar update I’ve had some PHP Errors. They seem to originate with a venue not being chosen with an event. Additionally, when I go to edit an Event Venue within my Event and // or add a new venue within a created Event, it doesn’t save when I choose ‘update’ on an event. So it’s perpetually throwing errors on the individual event page. I did some troubleshooting w/ my theme maker and they told me it was a plugin issue.

    Example URL: https://www.wcrai.ca/event/friday-night-series-kamloops-4-helmer-at-night/
    Theme Troubleshooting: https://i.imgur.com/AF9zpm6.jpg

    Errors:
    Warning: key() expects parameter 1 to be array, null given in /home/lmabee/wcrai.ca/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 46

    Warning: reset() expects parameter 1 to be array, null given in /home/lmabee/wcrai.ca/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 49

    Warning: Creating default object from empty value in /home/lmabee/wcrai.ca/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.php on line 51

    https://www.ads-software.com/plugins/the-events-calendar/

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m having the same issue as of the last update (v4.2). I’ve also had the ‘Calendar Month Navigation’ header appear above my monthly calendar and the links for prev/next month dissappear (URL Exampe: https://www.pdhp.org/events/). Thanks in advance for any help!

    Same here too. This version seems to be a bit of a problem for a lot of us.

    Thread Starter lmabee

    (@lmabee)

    Any progress on this? I’m thinking I should revert back to an older version of the plugin until the error is resolved?

    Hey folks,

    We’re about to ship a maintenance release in the next few days, but please use this snippet to remove the JSON-LD markup in the meantime:

    add_filter( 'tribe_json_ld_markup', '__return_empty_string' );

    Hope this helps while we work on getting this release ready. ??

    Cheers!
    Geoff

    This latest plugin update caused a couple of sites we support to go down. We reverted back to older versions, and the sites are now stable. (Like version 4.1.3 for Pro, and 4.1.4 for the free plugin.)

    I’s suggest being very cautious updating to the next release, monitoring error logs right away. The problem isn’t just about generating annoying error messages. The plugin seems to have been consuming memory, leading to other problems and whole-site crashes (500, 550 errors).

    Geoff – can you please indicate which file and what line your added code should be placed. I have several site where the venue and organizer information refuses to save.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Venue PHP Errors | Venue Not Saving’ is closed to new replies.