PHP Parse error: syntax error, unexpected ‘print’ (T_PRINT)
-
[12-Oct-2021 03:42:16 UTC] PHP Parse error: syntax error, unexpected ‘print’ (T_PRINT), expecting identifier (T_STRING) in /wp-content/plugins/contact-form-7/admin/includes/welcome-panel.php on line 9
My crc checking plugin found 3 new error logs this morning in admin, admin/user and admin network. They all contained the line above. Normally I don’t log into this site more than once a month or so. It’s a static. Tried to log into the site and couldn’t because the login page crashed.
There has been a critical error on this website. Please check your site admin email inbox for instructions.
FTP’d into the account, removed cf7. Went into cpanel and realized the site was still on php 5.6. Upgraded to 7.4, uploaded cf7 and it appears to work.
Is upgrading to 7.4 important? Sure. Crashing the admin login when you don’t? Not so much.
I’m just guessing there was some automatic update of the plugin this morning.
- The topic ‘PHP Parse error: syntax error, unexpected ‘print’ (T_PRINT)’ is closed to new replies.