PHP parsing error since upgrade to version 2020_1_12
Autor: Tjerk Z.
Visitado 841,
Followers 1,
Compartido 0
Since the latest upgrade to version 2020_1_12 I get the following error:
[Sat May 23 19:52:50 2020] [warn] [client 82.73.71.106] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /var/www/vhosts/vriendenhortusharen.nl/httpdocs/res/x5engine.php on line 3243, referer: https://vriendenhortusharen.nl/aanmelding.html
The page aanmelding.html contains an e-mail form. It is the submit button or ImEmailForm.php that produces the error. Line 3243 reads: static function from_db_data($db): ImDb
Publicado en
Hello Tjerk,
PHP does not appear to be configured correctly on your server.
WebSite X5 version 2020.1 requires a minimum of PHP version 7.1 in order for several of the more advanced features (such as Contact Forms) to work properly:
https://helpcenter.websitex5.com/es/post/225977
Your webhost should be able to help you with this as it is a server side issue.
Kind regards,
Paul
Search the WebSite X5 Help Center
Check the connection to the database in the project, presumably there was a discrepancy in the update that can be remedied by calling the Mailform object again. We had similar problems that resolved after uploading again.
JJ.