Virtue and php 7.0
-
Hi there! I use Virtue theme more than 2 years and love it. Siteground hosting, when my site is, asks us to Move to PHP 7. (Your site is using PHP 5.6 which is below the recommended PHP 7.0.)
https://www.siteground.com/blog/wordpress-on-php7-now/?utm_source=newsletter%2003-17&utm_medium=email, and before doing this movement, first check/ If there are themes and plugins that might not be compatible with PHP 7, you will see them listed on the screen. And only Virtue theme gave me an error.
SG support recommends me to change the theme or ask theme’s support. I want to use Virtue further, it is excellent!
plugin SG Optimizer revealed only Virtue error (no any plugins) –FILE: /home/freeocea/public_html/wp-content/themes/virtue/themeoptions/inc/validation/preg_replace/validation_preg_replace.php
——————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————
30 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
——————————————————————————————————————————FILE: /home/freeocea/public_html/wp-content/themes/virtue/woocommerce/single-product/add-to-cart/grouped.php
How can it be resolved?
thank you in advance!
- The topic ‘Virtue and php 7.0’ is closed to new replies.