Tagged: mediapress PHPerror
Hi there,
I can’t move from PHP 5.6 to 7.1 or 7.3 because the version compatibility checker says mediapress does not comply with the requirements to do so. This is the message I get:
FILE: /home/…/wp-content/plugins/mediapress/admin/tools/debug/mpp-debug-output.php
—————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————————————————
66 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
—————————————————————————————————————————Probably it’s a file left there but I need it fixed to move to the newer/last PHP version available.
Hi Jaume,
You can safely ignore it.it is a false psotove.
here is the complete codeif ( $wpdb->use_mysqli ) { $mysql_ver = @mysqli_get_server_info( $wpdb->dbh ); } else { $mysql_ver = @mysql_get_server_info(); }
We use it on the Debug page(status page in dashboard settings) to get mysql server version and it will only be used if mysqli is not being used.
Regards
BrajeshGreat! 😀
I thought it would be something like that… What else! 😉
Thanks for your fast answer!
Best regards!
Jaume.
The topic ‘ [Resolved] Latest PHP version allowed by mediapress file error’ is closed to new replies.