Errors with PHP 7.1 Woocommerce and Cornerstone files

Hi,
We have errors with PHP 7.1

FILE: /public_html/wp- content/themes/pro/ cornerstone/includes/utility/ jsqueeze.php


FOUND 3 ERRORS AFFECTING 3 LINES


387 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
465 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
480 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0


FILE: /home/chetc164/public_html/wp- content/themes/pro/ woocommerce/cart/cross-sells. php


FOUND 1 ERROR AFFECTING 1 LINE


26 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4


FILE: /public_html/wp- content/themes/pro/ woocommerce/single-product/up- sells.php


FOUND 1 ERROR AFFECTING 1 LINE


26 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4


FILE: /public_html/wp- content/themes/pro/ woocommerce/single-product/ related.php


FOUND 1 ERROR AFFECTING 1 LINE


26 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4


Thanks!

Hi there,

Thanks for writing in.

That’s not an error but a false report by the tool’s you used. Please check this https://theme.co/apex/forums/topic/cornerstone-update-to-be-compatible-with-php-7-2/

Thanks.