projectnami icon indicating copy to clipboard operation
projectnami copied to clipboard

New Site health page fails to work

Open A-Matt opened this issue 6 years ago • 6 comments

Project Nami: 2.2.0 Wordpress version: 5.2.0 SQL Server: 2017

Running the page ./wp-admin/site-health.php

Provides error

Fatal error: Uncaught Error: Call to undefined function mysql_get_server_info() in <FILE_LOCATION>\wp-admin\includes\class-wp-site-health.php:130
Stack trace:
#0 <FILE_LOCATION>\wp-admin\includes\class-wp-site-health.php(29): WP_Site_Health->prepare_sql_data()
#1 <FILE_LOCATION>\wp-admin\site-health.php(30): WP_Site_Health->__construct()
#2 {main} thrown in <FILE_LOCATION>\wp-admin\includes\class-wp-site-health.php on line 130

A-Matt avatar May 08 '19 11:05 A-Matt

Missed that new file during testing. Might take awhile, but we'll get it resolved.

patrickebates avatar May 08 '19 13:05 patrickebates

Well seems this page exists when an issue is detected with WP and/or plugins Just got the page working after receiving a notification email because I have a plugin which is not quite well Not sure if this was the intention (aka page only available if there is an issue detected)

benoithamet avatar May 17 '19 07:05 benoithamet

As part of the latest update, a quick pass was made to simply disable the DB checks until a proper fix can be put into place. Expect a warning that the DB version is out of date for now.

patrickebates avatar May 22 '19 02:05 patrickebates

Hi Patrick seems this is now resolved with the latest update; health page is loading properly not sure if this "Severely outdated SQL server" is the warning your are talking about? thanks

benoithamet avatar May 22 '19 18:05 benoithamet

That's the one. The calls WP is making to check DB settings have similar versions for SQLSrv object, but they return different data. Until we can make full corrections, it thinks the DB version is zero and therefore out of date.

patrickebates avatar May 22 '19 18:05 patrickebates

thanks all good then

benoithamet avatar May 22 '19 18:05 benoithamet