on my wp5.03 (though warnings were thrown Jan 7 and 19 so 5.02 or )
from public_html/error_log
PHP Warning: trim() expects parameter 1 to be string, array given in ... /wp-includes/class-wp-query.php on line 736
anyone else?
on my wp5.03 (though warnings were thrown Jan 7 and 19 so 5.02 or )
from public_html/error_log
PHP Warning: trim() expects parameter 1 to be string, array given in ... /wp-includes/class-wp-query.php on line 736
anyone else?
As you can see here (https://core.trac.wordpress.org/browser/tags/5.0.3/src/wp-includes/class-wp-query.php#L736), the 736 line of that file contains:
$qv['name'] = trim( $qv['name'] );
And $qv
is defined as:
$this->query_vars = $this->fill_query_vars($this->query_vars);
$qv = &$this->query_vars;
So... That means, that you use WP_Query incorrectly somewhere in your code...
You should pass string value as name param, and it looks like somewhere in your site an array is passed as that param...