[wp-trac] [WordPress Trac] #33261: Random php error

WordPress Trac noreply at wordpress.org
Wed Jan 13 11:34:48 UTC 2016


#33261: Random php error
--------------------------+------------------------------
 Reporter:  OKN           |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  4.2.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by nexurium):

 In wp-includes/load.php at line 136 replace
 {{{#!php
 if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && !
 file_exists( WP_CONTENT_DIR . '/db.php' ) ) {
 }}}

 by

 {{{#!php
 if ( ! extension_loaded( 'mysql' ) && ! extension_loaded( 'mysqli' ) && !
 extension_loaded( 'mysqlnd' ) && ! file_exists( WP_CONTENT_DIR . '/db.php'
 ) ) {
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33261#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list