[wp-trac] [WordPress Trac] #37683: Getting "Notice: Undefined variable: collate" after update to 4.6

WordPress Trac noreply at wordpress.org
Wed Aug 17 07:23:01 UTC 2016


#37683: Getting "Notice: Undefined variable: collate" after update to 4.6
--------------------------+-----------------------------
 Reporter:  robsat91      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.6
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello!

 After updating from 5.3.1 to 4.6 i got an error:
 ''Notice: Undefined variable: collate in /Users/robert/Nettsider/wp/ehc-
 wordpress/webroot/wordpress/wp-includes/wp-db.php on line 752''

 It seems that the reason for the error is that i did not set the constant
 "DB_COLLATE" in wp-config.php. This worked before, but not in 4.6.

 Is there some issue with fallback values if some constants are not set
 maybe?

 Best regards, Robert Sather.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37683>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list