[wp-trac] [WordPress Trac] #36629: Database connect functions can cause un-catchable warnings
WordPress Trac
noreply at wordpress.org
Fri Apr 22 11:51:20 UTC 2016
#36629: Database connect functions can cause un-catchable warnings
--------------------------+---------------------
Reporter: pento | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5.1
Component: Database | Version: 4.5
Severity: normal | Resolution: fixed
Keywords: fixed-major | Focuses:
--------------------------+---------------------
Comment (by Otto42):
Ah. Yeah, that's good too, but I didn't mean tricks with error_reporting
and such. These two particular warnings that were spotted occur for
reasons outside of WordPress. The mysql_old_password one happens because
the server is using old password hashing mechanisms. The minor version
mismatch happens because PHP has the wrong version of the php mysql
libraries installed given the mysql client libraries available on the
server.
Any user seeing these warnings should contact their host about it, and the
host should be informed as to how to fix their systems so that the
warnings do not occur, even if we're not suppressing them.
Suppressing them contingent on WP_DEBUG makes sense, regardless of the
method.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36629#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list