What version of php does X support?

I can’t seem to find info on the versions of php supported for X and Cornerstone?

Can you please let me know. I had a problem trying to upgrade to php 7.1 and had to back it down to php version 7.0

Thanks,
Joe

Hello Joe,

Thanks for asking. :slight_smile:

We support PHP version 7.2 which is the recommended version of PHP as per WordPress community. Here’s a server requirement guide that you can take a look.

Thanks.

Hi Prasant,

Thanks for the requirements info., even though it’s stating PHP v7.2 is supported I received errors when trying to upgrade to PHP v71:

Note: I’m running X version 6.2.5 with a child theme, Cornerstone v 3.2.5, and PHP 7.0

Here are the errors received when trying to upgrade to PHP v7.1, any ideas? Looks to be all related to WooCommerce:


---------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/uswpweb8/public_html/mokenafootandankleclinic.com/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: /home/uswpweb8/public_html/mokenafootandankleclinic.com/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: /home/uswpweb8/public_html/mokenafootandankleclinic.com/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**
-------------------------------------------------------------------------------------------------------------------------

Thanks,
Joe

Hey Joe,

It looks like your host is running a compatibility test during the PHP update. Those results are false positives. Please see the details in this similar thread https://theme.co/apex/forum/t/siteground-says-you-are-not-php-compatible/40281/4

If your host won’t allow you to proceed with the update, you need to tell them that the errors are false positives.

Thanks.

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