Unfortunately some of your plugins or theme are not compatible with our recommended version.
(Cornerstone) I cannot update to PHP 7.1 due to Cornerstone having an incompatibility issue. This is the most up to date version available. I also attached a screenshot showing the issue in the code. Can someone please tell me what to do.
Co
Hi @Fused_Integrated_Mar,
This looks like a false positive on behalf of whatever scan is running. We support versions of WordPress that run on older versions of PHP so our code actually runs two different options depending on what we detect WordPress is utilizing. Here’s a look at the code in question:
public function get_mysql_version(){
global $wpdb;
if ( empty( $wpdb->is_mysql ) ) {
return '';
}
if ( $wpdb->use_mysqli ) {
$server_info = mysqli_get_server_info( $wpdb->dbh );
} else {
$server_info = mysql_get_server_info( $wpdb->dbh );
}
return $server_info;
}
You should have no issue upgrading PHP to version 7.1 because this code checks the environment before determining which code to run.
Thank you for getting back to me! The scan that was running is specific to SiteGround within their SG Optimizer plugin, and for this reason I am going to send them the information you gave me so they are aware of it.
Thanks again!!
Hi @Fused_Integrated_Mar,
You’re most welcome. Sounds good! We appreciate you letting them know.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.