I tried to run an update of the Avada plugin for our website, this failed and then caused wordpress to go into recovery mode, Please see details below;
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with your theme, Avada.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.4
Current theme: Avada (version 6.2.2)
Current plugin: (version )
PHP version 7.2.29
Error Details
=============
An error of type E_PARSE was caused in line 1255 of the file /home/dsiltd/public_html/wp-content/themes/Avada/includes/importer/class-avada-demo-import.php. Error message: syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST)
=============
I have downloaded the .php file and can upload this if anyone needs to review and can see something missing in the code, I have tried to resume the theme but it fails, this also brought down wordfence which I cannot start now.
Any help to get this out of recovery mode and the website back to normal would be appreciated
]]>Parse error: syntax error, unexpected T_FUNCTION in /home/uclareag/webapps/wordpress/wp-content/plugins/siteorigin-panels/compat/layout-block.php on line 95
]]>Parse error: syntax error, unexpected T_FUNCTION in /home/content/94/4245094/html/wp-content/plugins/my-calendar/my-calendar-styles.php on line 465
Had to rename the wp-content->plugins->my-calendar folder to get back to wp-admin. Now running without any calendar. At least it is running…
Any ideas?
Also, can I get back to the old version somehow (sorry..no backup…my bad)?
Maybe install again fresh and use files out of the renamed folder?
Thanks…
]]>I’m using WordPress version 4.9.5, then I’m trying to install LearnPress version 3.0.7
I’m getting the follow error:
Parse error: syntax error, unexpected T_FUNCTION in /
wp-content/plugins/learnpress/inc/lp-core-functions.php on line 2269
Every help is welcome
Thank you.
Parse error: syntax error, unexpected T_FUNCTION in …public_html/wp/wp-content/themes/hestia/functions.php on line 39
My server uses PHP version 5.2.17
How can I fix this?
Thanks in advance!
]]>I need help in solving this problem. Suddenly, when I opened my website, the following message was displayed.
Parse error: syntax error, unexpected T_FUNCTION in */wp-content/plugins/wp-super-cache/rest/load.php on line 144
Is this an error from the plugin itself? how do I fix this?
Thank you.
]]>Parse error: syntax error, unexpected T_FUNCTION in /…./wordpress/wp-content/plugins/wp-rss-aggregator/wp-rss-aggregator.php on line 131
Please provide solution to this.
]]>Thank you so much for this plugin. It really is great.
Sadly I get an error:
Parse error: syntax error, unexpected T_FUNCTION in “[removed]/plugins/wp-appbox/wp-appbox.php on line 317”
I already have tried php versions 5.3, 5.4, 5.5, 5.6 and 7.0 without luck.
It’s the latest version of appbox and WP.
Hope you can help.
Kind regards.
https://www.ads-software.com/plugins/wp-appbox/
]]>