#46799 closed defect (bug) (duplicate)
PHP warning class-wp-query.php
Reported by: | chargeup | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Query | Keywords: | |
Focuses: | Cc: |
Description
I've been getting a PHP warning on most of my sites since the latest WordPress 5.1.1 update. It doesn't appear to be caused by a plugin or theme. I am getting the errors from my error logs and it happens frequently just about everyday.
Everything is up-to-date. I am on the newest version of WordPress and am running PHP 7.2.
Here is the error I'm getting on every site regardless of theme or plugins used.
PHP Warning: trim() expects parameter 1 to be string, array given in /home/.../public_html/wp-includes/class-wp-query.php on line 755
Change History (4)
Note: See
TracTickets for help on using
tickets.
Here is the line of code in questions on line 755: