WebSite X5Help Center

 
Lubos R.
Lubos R.
User

Parse error: syntax error, unexpected '[' in class.phpmailer.php on line 304  en

Author: Lubos R.
Visited 1984, Followers 1, Shared 0  

Hi, my updated website (http://www.uski.sk/index.php) stoped working.

This is the message:

Parse error: syntax error, unexpected '[' in /www/u/s/u30651/public_html/res/class.phpmailer.php on line 304

Is it a problem of the server provider - his PHP - or something else?

Please, help me.

Posted on the
3 ANSWERS - 1 USEFUL - 1 CORRECT
Paul M.
Paul M.
Moderator

Hello Lubos,

The most likely explanation is that you need to update the version of PHP on your server, to cope with the updated scripts in WebSite X5.

WebSite X5 2019.1 requires a minimum of PHP 5.6 for all features to work correctly.

Kind regards,

Paul

Search the WebSite X5 Help Center

Read more
Posted on the from Paul M.
Lubos R.
Lubos R.
User
Author

The problem solved with PHP 7.2 (they say that before there was PHP 5.6.)

Read more
Posted on the from Lubos R.
Paul M.
Paul M.
Moderator

Thanks for letting us know the issue is now resolved, Lubos.

Read more
Posted on the from Paul M.