Title: Error message: syntax error
Last modified: March 29, 2022

---

# Error message: syntax error

 *  Resolved [guini89](https://wordpress.org/support/users/guini89/)
 * (@guini89)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-message-syntax-error/)
 * Hello,
 * Im having an issue with the wordpress error reports for your plugin.
    I’ve read
   this forum and find out others getting the report aswell but all of them didnt
   had php 7.0 or higher. Issue solved for them.
 * In my case, the worpress reports says Im on php 5.6.33 while in reality Im on
   php 7.4.27. I’ve contacted my web Host to verify it.
    Is there something I can
   do to fix the issue ? Is this issue even related to the plugin itself or is something
   wrong with wordpress reports ?
 * the report :
    WordPress version 5.9 Current theme: Divi (version 4.14.7) Current
   plugin: WP Cerber Security, Anti-spam & Malware Scan (version 8.9.6) PHP version
   5.6.33
 * Error Details
    ============= An error of type E_PARSE was caused in line 5745
   of the file /home/www/web1672/web1672u4/html/wp-content/plugins/wp-cerber/cerber-
   load.php. Error message: syntax error, unexpected ‘?’
 * here a direct link to the website test.php : [website/test.php](https://www.telewalfer.lu/test.php)

Viewing 1 replies (of 1 total)

 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-message-syntax-error/#post-15567666)
 * Hi! You are running your website on PHP 5.6.33 (not PHP 7.4.27). This is the 
   root cause. It’s possible that the version of PHP on the web server is different
   that the version of PHP available in the CLI mode.

Viewing 1 replies (of 1 total)

The topic ‘Error message: syntax error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cerber_77a9bf.svg)
 * [WP Cerber Security, Anti-spam & Malware Scan](https://wordpress.org/plugins/wp-cerber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cerber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cerber/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cerber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cerber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cerber/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [gioni](https://wordpress.org/support/users/gioni/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/error-message-syntax-error/#post-15567666)
 * Status: resolved