[wp-trac] [WordPress Trac] #37815: PHP Notice: Undefined variable: collate

WordPress Trac noreply at wordpress.org
Wed Aug 24 18:15:47 UTC 2016


#37815: PHP Notice:  Undefined variable: collate
--------------------------+------------------------------
 Reporter:  Hax           |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by kraftbj):

 There's no default option for $charset or $collate in that section if the
 `defined( 'DB_COLLATE')` check fails. I believe the expectation is that
 should be set in wp-config.php (and is by default).

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


More information about the wp-trac mailing list