WebSite X5Help Center

 
Tjerk Z.
Tjerk Z.
User

PHP parsing error since upgrade to version 2020_1_12  en

Autore: Tjerk Z.
Visite 843, Followers 1, Condiviso 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

Postato il
2 RISPOSTE - 2 UTILI - 1 CORRETTO
Paul M.
Paul M.
Moderator

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/it/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

Leggi di più
Postato il da Paul M.
JJ. JUAG
JJ. JUAG
User

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.

Leggi di più
Postato il da JJ. JUAG