Home › Forums › Calendar Products › Events Calendar PRO › Plugin Update – "White Screen" Fatal Error
- This topic has 8 replies, 3 voices, and was last updated 9 years, 6 months ago by
whalesongservices.
-
AuthorPosts
-
October 20, 2016 at 5:58 pm #1180249
whalesongservices
ParticipantHello,
I just updated the Events Calendar Pro Plugin , as well as community events & events tickets. This was the only update I did on the site. I had previously checked/updated this on staging site and all was well.
I updated on my live site and received the “white screen”
When I attempted to logout of the site, I received this error:
Fatal error: Can’t use function return value in write context in /wp-content/plugins/events-calendar-pro/src/functions/template-tags/venue.php on line 97
I disabled all four related plugins via FTP, events-calendar-pro, event-tickets, the-events-calendar-community-events and the-events-calendar.
When I do this, the site recovers and I am able to get access.
I have not changed themes at this time because I have clients accessing my site.
I have re-instated each plugin one at a time. The first three work correctly.
This is what I see in my plugins menu:
event-tickets [ 4.3.1.1]
the-events-calendar-community-events [4.3.1]
the-events-calendar [4.3.1.1]all work normally.
When I reactivate events-calendar-pro, the site fails/I get a “hate-screen”
When I de-activate the events-calendar-pro plugin, I recover access to my site. The plugin shows version 4.3.1 [deactivated] in my plugin screen.
Any assistance appreciated.
Bill
October 20, 2016 at 6:00 pm #1180250whalesongservices
ParticipantPlease excuse the error in the fourth-last line of the previous submission.
The line says “hate-screen”
When I reactivate events-calendar-pro, the site fails/I get a “hate-screen”
It should read “white-screen”
Apologies for auto-correct…
October 20, 2016 at 6:59 pm #1180266George
ParticipantHey there,
We ran into an issue with the packaging of the 4.3.1 update of The Events Calendar and Event Tickets.
There are two main solutions to proceed and work around these issues.
First: Replace the Files of The Events Calendar 4.3.1.1
- If you are able to access your site files via FTP, head to the /wp-content/plugins directory and delete the /the-events-calendar folder there. This will not delete event content.
- Once that is deleted, download a fresh copy of The Events Calendar 4.3.1.1 from WordPress.org ? http://wordpress.org/plugins/the-events-calendar
- Install this new fresh copy of The Events Calendar 4.3.1.1 on your site.
⚠️ Please Note: If you have Event Tickets on your site, you may also want to do this process for Event Tickets 4.3.1.1, available on WordPress.org here.
Next: PHP 5.2 Fix
If you do the above steps and still see fatal error when you try to access your site, then this is the result of your site’s server running an old version of PHP.
To proceed, first please contact your web host and ask them to upgrade the version of PHP they are running. 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 can contact your web host and request they update their servers by sending a message like this:
I'm interested in running the open-source WordPress (https://wordpress.org/) web software and I was wondering if my account supported the following:• PHP 5.6 or greater
• MySQL 5.6 or greater
• The mod_rewrite Apache moduleThanks!
Then, 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.
Sincerely,
GeorgeOctober 20, 2016 at 8:47 pm #1180335whalesongservices
ParticipantHello George,
Thanks for your quick assistance and advice.
Just to be clear, you advise I delete and replace the-events-calendar 4.3.1.1
You also suggest I do this for event-tickets 4.3.1.1
This means I leave the-events-calendar-pro 4.3.1 and the-events-calendar-community-events 4.3.1 completely untouched? Yes?
Re: PHP
My site is currently running on PHP 5.3.9
Thanks
Bill
October 20, 2016 at 9:02 pm #1180344whalesongservices
ParticipantHello George,
I deleted and uploaded new versions of both events calendar and events tickets.
When I attempt to reactivate Events Calendar Pro, the site fails/I get the “white-screen” again.
Should I try to update/replace the Events Calendar Pro ?
Regards
Bill
October 21, 2016 at 4:14 pm #1181035George
ParticipantHey Bill,
My apologies for the delayed response here.
Yes, today we just released a new hotfix for Events Calendar Pro and I would recommend updating that, too.
We have published fixed versions of everything and you should be able to proceed by updating The Events Calendar to version 4.3.1.1 and Events Calendar Pro to 4.3.1.1, as well.
Note that the version numbers here are NOT 4.3.1, but 4.3.1.1 ?!
Let me know if you are able to get things working with these versions!
Sincerely,
GeorgeOctober 21, 2016 at 9:11 pm #1181155whalesongservices
ParticipantHi George,
Thanks for the update. I deleted and reinstalled the hot fix 4.3.1.1 and this seems to have corrected the problems.
Thanks again for your excellent assistance.
Regards
Bill
October 22, 2016 at 11:32 am #1181346George
ParticipantGlad to hear it, Bill! Sorry for the trouble.
Open a new thread any time if other issues or questions arise!
Sincerely,
George -
AuthorPosts
- The topic ‘Plugin Update – "White Screen" Fatal Error’ is closed to new replies.
