[wp-trac] [WordPress Trac] #58184: WordPress database error Illegal mix of collations

WordPress Trac noreply at wordpress.org
Mon Apr 24 14:03:08 UTC 2023


#58184: WordPress database error Illegal mix of collations
-------------------------------+-----------------------------
 Reporter:  varinupadhyay      |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  6.1.1
 Severity:  blocker            |   Keywords:  needs-patch
  Focuses:                     |
-------------------------------+-----------------------------
 Please see attached error log file.

 The spam is trying to run WordPress db query. Please check the last line
 of error log.

 "made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts,
 WP_Query->query, WP_Query->get_posts"

 Inside wp->main() /src/public/wp-includes/class-wp.php line 777, WordPress
 run parse_query() function which should strip out all the garbage input.
 But it is not.


 Can you please look into this asap? Also, please suggest a filter for
 parse_request filter which stop these bogus queries.

 Thank you

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


More information about the wp-trac mailing list