Title: PHP error &#8211; PHP 7.X supported?
Last modified: January 27, 2019

---

# PHP error – PHP 7.X supported?

 *  [pieterclaesen](https://wordpress.org/support/users/pieterclaesen/)
 * (@pieterclaesen)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-error-php-7-x-supported/)
 * Heya,
 * When firing PHP code through your plugin I get this error:
 * [26-Jan-2019 20:52:04 UTC] PHP Parse error: syntax error, unexpected ‘if’ (T_IF)
   in /home/public_html/wd/wp-content/plugins/php-everywhere/widget.php(45) : eval()’
   d code on line 10
    [26-Jan-2019 20:52:05 UTC] PHP Parse error: syntax error, 
   unexpected ‘if’ (T_IF), expecting ‘,’ or ‘;’ in /home/public_html/wd/wp-content/
   plugins/php-everywhere/widget.php(45) : eval()’d code on line 10
 * Does this plugin support PHP 7.X?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Alex](https://wordpress.org/support/users/alexander_fuchs/)
 * (@alexander_fuchs)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-error-php-7-x-supported/#post-11137287)
 * Hi pieter, the plugin supports PHP 7.x. The error trace indicates a syntax error
   in your code.

Viewing 1 replies (of 1 total)

The topic ‘PHP error – PHP 7.X supported?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-everywhere_5f7aae.svg)
 * [PHP Everywhere](https://wordpress.org/plugins/php-everywhere/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-everywhere/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-everywhere/)
 * [Active Topics](https://wordpress.org/support/plugin/php-everywhere/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-everywhere/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-everywhere/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alex](https://wordpress.org/support/users/alexander_fuchs/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/php-error-php-7-x-supported/#post-11137287)
 * Status: not resolved