#46799 closed defect (bug) (duplicate)
PHP warning class-wp-query.php
| Reported by: | chargeup | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Here is the line of code in questions on line 755: