[wp-trac] [WordPress Trac] #46799: PHP warning class-wp-query.php
WordPress Trac
noreply at wordpress.org
Thu Apr 4 17:36:51 UTC 2019
#46799: PHP warning class-wp-query.php
--------------------------+-----------------------------
Reporter: chargeup | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46799>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list