Title: PHP Config Error Mistake
Last modified: October 25, 2017

---

# PHP Config Error Mistake

 *  Resolved [OliverC](https://wordpress.org/support/users/yan5280/)
 * (@yan5280)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-config-error-mistake/)
 * Hi, I used the SG Optimizer>PHP Config to check one of my websites’ php 7 compatibility.
   The result reported an error in the theme file that is not compatible with PHP
   7 – I listed the error message below.
 * However, when I went to the file myself, I do not see that error (or any e modifiers)…
   Here is a screenshot for your reference: [https://www.dropbox.com/s/l8h2c9r2tctmklr/Screen%20Shot%202017-10-25%20at%209.39.03%20AM.png?dl=0](https://www.dropbox.com/s/l8h2c9r2tctmklr/Screen%20Shot%202017-10-25%20at%209.39.03%20AM.png?dl=0)
 * Could you please check and advise what to do? Or how I may be able to manually
   overwrite that error and upgrade to PHP 7?
 * Thank you!
    Yan
 * FILE: /home/xyzadvan/public_html/wp-content/themes/betheme/muffin-options/validation/
   preg_replace/validation_preg_replace.php
    —————————————————————————————————————————–
   FOUND 1 ERROR AFFECTING 1 LINE —————————————————————————————————————————– 32 
   | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed
   since PHP 7.0 —————————————————————————————————————————–
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-config-error-mistake%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-config-error-mistake/#post-9639719)
 * You can always upgrade manually to PHP 7 by following the instrucitons in this
   article:
 * [https://www.siteground.com/kb/how_to_have_different_php_versions/](https://www.siteground.com/kb/how_to_have_different_php_versions/)
 * Or simply selecting it from the PHP Version Manager tool in cPanel 🙂

Viewing 1 replies (of 1 total)

The topic ‘PHP Config Error Mistake’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/php-config-error-mistake/#post-9639719)
 * Status: resolved