Siteground says you are not php compatible

Here are the errors - note: I do not have WooCommerce enabled. Is there anything I need to do?
FILE: /home/anacorte/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

FILE: /home/anacorte/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: /home/anacorte/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

Hello There,

Thanks for posting in!

Could you please confirmed that you have updated to the latest versions?
Our latest versions are:

  • Pro theme 2.2.5
  • X theme 6.2.5
  • Cornerstone 3.2.5

This latest release contains fixes for several issues so be sure to check out the changelog (http://theme.co/changelog/).

And please disable the debug mode. You can do this by opening wp-config.php and adding


define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should no longer be seeing any of those PHP messages.

Please let us know how it goes.

I am using Pro 2.2.5
I don’t see Cornorstone but I think that pro does not include that a a unique piece? Thank you.

Hey @GeorgiaG,

I believe you ran a PHP 7 compatibility test. Please note that it could return false positives and WooCommerce is one of the plugins that could cause such a result. Since X and Pro overrides some WooCommerce template files, it could contain WooCommerce code therefore getting the same false positive result. Please see https://github.com/wpengine/phpcompat/wiki/Results

You can ignore the scan result as X, Cornerstone and Pro are compatible with PHP 5.2. and up just like WordPress.

Thanks.

Great. Thank you. I knew your documentation said you were compatible and figured it was something like that and wanted clarification/confirmation. Fantastic!

You’re welcome, @GeorgiaG.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.