Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Site health page fails to work #348

Open
A-Matt opened this issue May 8, 2019 · 6 comments

Comments

@A-Matt
Copy link

commented May 8, 2019

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
@patrickebates

This comment has been minimized.

Copy link
Member

commented May 8, 2019

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

@benoithamet

This comment has been minimized.

Copy link

commented May 17, 2019

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)

@patrickebates

This comment has been minimized.

Copy link
Member

commented May 22, 2019

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.

@benoithamet

This comment has been minimized.

Copy link

commented May 22, 2019

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

@patrickebates

This comment has been minimized.

Copy link
Member

commented May 22, 2019

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.

@benoithamet

This comment has been minimized.

Copy link

commented May 22, 2019

thanks
all good then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.