• Resolved pixelpath

    (@pixelpath)


    After updated your plugin, my page stop working, so i delete your plugin file from my ftp. When i installed your plugin again I can’t turn it on.

    I have a error in wp-admin:

    Parse error: syntax error, unexpected ‘const’ (T_CONST), expecting variable (T_VARIABLE) in /home/qlcontrols/ftp/engocontrols-com/public_html/wp-content/plugins/cf7-grid-layout/admin/class-cf7-grid-layout-admin.php on line 40

    Thanks for help in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Looks like your server is running an older version of PHP. The error rises from a public constant declaration in a class. Visibility modifiers for class constants where introduced in PHP v7.1

    I realise my README file supported PHP tag mentions 5.6 and above, so that is misleading. Will get that changed with the next release.

    Can you check/upgrade your PHP on your server? PHP 7 is faster so you will also gain from the upgrade.

    Thread Starter pixelpath

    (@pixelpath)

    @aurovrata

    Thank you for answer. I have PHP 7.0.33 version. Should i update to 7.1?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    > Thank you for answer. I have PHP 7.0.33 version. Should i update to 7.1?

    Ideally php 7.4 (the latest version of php 7.4.x, I am running 7.4.30 on Debian 10 server and that it all works well for me).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘syntax error – broken page’ is closed to new replies.