Fatal error when submitting page using tribe_events shortcode in 4.4.30

Home Forums Calendar Products Events Calendar PRO Fatal error when submitting page using tribe_events shortcode in 4.4.30

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1590861
    Bill Dailey
    Participant

    I am using the tribe_events shortcode on several pages on a site that I am developing. That has been working great until today. Since upgrading today to 4.4.30, I get a Fatal PHP error whenever I try to update a page that contains a shortcode like this:

    [tribe_events view=”month” tribe-bar=”true”]

    The PHP error logs say:

    [06-Aug-2018 07:48:17 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Tribe__Events__Pro__Recurrence__Scripts::localize(), 2 passed in /Users/billdailey/Sites/chabot/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in /Users/billdailey/Sites/chabot/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Scripts.php:32
    Stack trace:
    #0 /Users/billdailey/Sites/chabot/wp-includes/class-wp-hook.php(286): Tribe__Events__Pro__Recurrence__Scripts->localize(Array, ‘tribe-events-pr…’)
    #1 /Users/billdailey/Sites/chabot/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /Users/billdailey/Sites/chabot/wp-content/plugins/events-calendar-pro/src/Tribe/Assets.php(311): apply_filters(‘tribe_events_pr…’, Array, ‘tribe-events-pr…’)
    #3 /Users/billdailey/Sites/chabot/wp-content/plugins/the-events-calendar/common/src/Tribe/Assets.php(233): Tribe__Events__Pro__Assets->get_data_tribe_events_pro(Object(stdClass))
    #4 /Users/billdailey/Sites/chabot/wp-content/plugins/the-events-calendar/common/src/funct in /Users/billdailey/Sites/chabot/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Scripts.php on line 32

    I tested reverting to Version 4.4.29.2 of Events Calendar Pro, and no errors occur in that version.

    #1591662
    Jeremy
    Keymaster

    Hi Bill,

    Thanks for reaching out to us! I’d be happy to help you 🙂

    On my local installation, I just tried the same shortcode with Events Calendar PRO 4.4.30, and I didn’t get that PHP error.

    There might be a conflict somewhere. Could you try to deactivate all other plugins, to see if that makes a difference? Also, could you switch back to the default theme (Twenty Seventeen), and try the shortcode again? Please read our documentation about testing for conflicts before doing anything.

    Please let me know how it goes.

    Cheers,
    Jeremy

    #1592341
    Bill Dailey
    Participant

    Hi Jeremy,

    We are able to verify that the issue does not occur with:

    2017 theme
    The Events Calendar Version 4.6.21
    The Events Calendar Pro Version 4.4.30

    If we then activate Yoast SEO Version 7.9.1 (or Yoast 7.9.0), the issue fatal error from Events Calendar Pro then occurs. It would appear there is some sort of conflict between Yoast SEO and Events Calendar Pro plugins.

    Since this doesn’t occur in Events Calendar Pro 4.4.29.2 it would seem something changed?

    Bill

    #1592459
    Mathew
    Participant

    This reply is private.

    #1592835
    Jeremy
    Keymaster

    This reply is private.

    #1594222
    Victor
    Member

    Hi Bill & Mathew!

    Just wanted to share with you that a new release of Events Calendar PRO is out, including a fix for the issue described here.

    Find out more about this release → https://theeventscalendar.com/announcing-events-calendar-pro-4-4-30-1/

    Thank you both for flagging this and for your patience while we worked on this.

    Please update the plugins and let us know if the fix works for your site.

    Best,
    Victor

    #1595513
    Bill Dailey
    Participant

    The updated version fixed the issue for me. Thanks!

    #1596085
    Barry
    Member

    Excellent, thanks for bearing with us 🙂

    I’ll go ahead and close this topic, but please don’t hesitate to create new ones as needed should you require help with anything else.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Fatal error when submitting page using tribe_events shortcode in 4.4.30’ is closed to new replies.