PHP 7.1 compatibility

Hi,

I’m looking to upgrade to php 7.1. My hosting company ran a compatibility check and found a few errors in x theme.

Wanted to check if upgrading is safe.

Here are the errors found.

FILE: /wp-content/themes/x/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: /wp-content/themes/x/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

FILE: /public_html/wp-content/themes/x/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

Best, Freek

Hi There,
Thanks for asking!
Our theme is compatible with PHP 7.1.
You have to use latest version of theme and cornerstone including woocommerce or the compatible version of woocommerce to avoid any issue.
Please check version compatibility of plugins.

Hope this helps!

Thanks! Yes, that helps. I’ve updated without issues.