Title: syntax error &#8211; broken page
Last modified: June 29, 2022

---

# syntax error – broken page

 *  Resolved [pixelpath](https://wordpress.org/support/users/pixelpath/)
 * (@pixelpath)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-broken-page/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsyntax-error-broken-page%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-broken-page/#post-15782008)
 * 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](https://www.php.net/manual/en/language.oop5.constants.php)
   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](https://wordpress.org/support/users/pixelpath/)
 * (@pixelpath)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-broken-page/#post-15784346)
 * [@aurovrata](https://wordpress.org/support/users/aurovrata/)
 * Thank you for answer. I have PHP 7.0.33 version. Should i update to 7.1?
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-broken-page/#post-15893761)
 * > 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.

 * ![](https://ps.w.org/cf7-grid-layout/assets/icon-256x256.png?rev=1834229)
 * [Smart Grid-Layout Design for Contact Form 7](https://wordpress.org/plugins/cf7-grid-layout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-grid-layout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-grid-layout/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-grid-layout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-grid-layout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-grid-layout/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-broken-page/#post-15893761)
 * Status: resolved