Fatal PHP Error
-
I am managing wordpress for a nonprofit Lancaster AA. Today the events calendar throws a fatal php error which takes down the site:
Parse error: syntax error, unexpected ‘[‘ in /home/content/84/11633384/html/wp-content/plugins/the-events-calendar/common/src/Tribe/PUE/Notices.php on line 237
I was able to disable all the plugins and get the site running again.
This is the line that throws the error:
$empty_key = Tribe__Utils__Array::get( $empty_key, [ 0 ] );I performed your troubleshooting steps (thanks!) I tested with 2016 Theme. I turned off the other plugins. Events Calendar still throws this error (but now WP catches it so site doesn’t go down, nice).
The site is on PHP 5.3.24 with WordPress 4.9.8 and Events Calendar 4.7
Any ideas?
thanks!
Jon
- The topic ‘Fatal PHP Error’ is closed to new replies.