Home › Forums › Calendar Products › Events Calendar PRO › Fatal error after upgrade
- This topic has 6 replies, 3 voices, and was last updated 9 years, 6 months ago by
Zach Tirrell.
-
AuthorPosts
-
October 21, 2016 at 1:10 am #1180428
Lee Steele
ParticipantI have updated my plugin and now the site is down.
Fatal error: Can’t use function return value in write context in /home/content/47/8346747/html/yucatanexpatlife/wp-content/plugins/events-calendar-pro/src/functions/template-tags/venue.php on line 97
Please help!
October 21, 2016 at 1:29 am #1180429Lee Steele
ParticipantI went into my File Manager and renamed the plugin, so the site is operating. But I tried to upload a fresh version of the current Pro plugin and got the same error.
October 21, 2016 at 8:31 am #1180579Zach Tirrell
KeymasterWe 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.
October 21, 2016 at 11:25 am #1180826Zach Tirrell
KeymasterThe 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.
October 24, 2016 at 1:13 pm #1182103Lee Steele
ParticipantThe Pro calendar is back now, but the site is incredibly slow. It takes several minutes after I press publish for the server to respond.
October 25, 2016 at 10:41 am #1182670Zach Tirrell
KeymasterLee,
That certainly sounds concerning. Can you open a new thread for that issue? That’ll help you to get the best and most targeted service.
I am going to close out this specific thread as it appears your originating issue is resolved.
- You can head to line 97 of events-calendar-pro/src/functions/template-tags/venue.php from this:
-
AuthorPosts
- The topic ‘Fatal error after upgrade’ is closed to new replies.
