Fatal error using Pro 4.3.1 with events calendar 4.3.1

Home Forums Calendar Products Events Calendar PRO Fatal error using Pro 4.3.1 with events calendar 4.3.1

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1180450
    divcom_uk
    Participant

    error started after the update. downgrading pro extension to 4.3 resolves the issue – main events calendar version is still 4.3.1
    error found was:

    Fatal error: Can’t use function return value in write context in /wp-content/plugins/events-calendar-pro-temp/src/functions/template-tags/venue.php on line 97

    Thanks,
    Pete

    #1180467
    Javier
    Participant

    Same here. Error 500 when upgrading PRO version to 4.3.1.

    I also went back to 4.3

    #1180584
    Zach Tirrell
    Keymaster

    We will be shipping a hotfix for this as soon as possible.

    This is a compatibility issue with PHP 5.2. While we do try to support old versions of PHP 5.2, because WordPress itself does, using out-of-date versions of software like this is bad for security and site performance.

    You have two options for a temporary fix:

    • You can head to line 97 of events-calendar-pro/src/functions/template-tags/venue.php from this:return ! empty( tribe_get_events( $args ) );

      to this:

      $tribe_events = tribe_get_events( $args );
      return ! empty( $tribe_events );

    • Or you can delete The Events Calendar 4.3.1.1 and Events Calendar Pro 4.3.1 from your site and temporarily re-install versions 4.3 of both plugins until we release a fix for this issue—which we will do promptly and are working on as I type this response.

    Thank you so much for your patience! Please let us know if you have further questions on this matter or anything else we can try to help with.

    #1180593
    Javier
    Participant

    Alright thanks, but I am running PHP 5.4.45 version.

    #1180638
    Zach Tirrell
    Keymaster

    Javier – are you seeing a different error than what was originally reported on this thread? If so, please open a new thread with some additional details and we’ll be happy to dig into that with you.

    If not, the fix is coming!

    #1180642
    Zach Tirrell
    Keymaster

    Our developers just notified me that this does in fact impact PHP versions 5.4 and lower.

    #1180824
    Zach Tirrell
    Keymaster

    The Events Calendar PRO 4.3.1.1 hotfix is now available and is targeted at exclusively fixing this bug. You can either auto-update to that version or grab it from the downloads in your account – https://theeventscalendar.com/my-account/downloads/

    Let me know if you need any other assistance.

    #1191365
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Fatal error using Pro 4.3.1 with events calendar 4.3.1’ is closed to new replies.