I have inherited a site with X Theme on it and it is currently displaying an error in the CMS. These errors are concerned with Woocommerce in the X theme folder. We don’t even have Woocommerce on this site…
The site has version 6.2.5 of X theme and 3.2.5 of Cornerstone.
Error below (note: xxx is the full path of the file)
FILE: /xxx/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
FILE: /xxx/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: /xxx/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
I can also see a whole pile of js errors in the console, all from a cs-vendor.js file.
Do you know how I can rectify these errors?