Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Compatibility with PHP 7

Home / Forums / Virtue Theme / Compatibility with PHP 7

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
September 27, 2017 at 7:14 pm

Hello,

I am using the SG Optimizer plugin for my WordPress installation on Siteground. Part of the plugin scans my site (stimpackenergy.com) for php7 compatibility and returns errors if any exist. It’s reporting the following under Virtue – Premium:

FILE: […]themes/virtue_premium/woocommerce/single-product/add-to-cart/grouped.php
————————————————————————————————————————————
FOUND 2 ERRORS AFFECTING 2 LINES
————————————————————————————————————————————
53 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
117 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
————————————————————————————————————————————

The plugin won’t let me run the update (to php7) until the errors have been resolved. Is there an easy way to solve this?

I am currently on Virtue – Premium, version: 4.3.4 (I run a child theme).

Thanks,
Taylor

  • The forum ‘Virtue Theme’ is closed to new topics and replies.