Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array
-
Hi, I found this in the debug.log file:
[24-Dec-2021 15:15:23 UTC] PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /home/is/www/wp-includes/class-wp-query.php:782 Stack trace: #0 /home/is/www/wp-includes/class-wp-query.php(782): trim(Array) #1 /home/is/www/wp-includes/class-wp-query.php(1771): WP_Query->parse_query() #2 /home/is/www/wp-includes/class-wp-query.php(3465): WP_Query->get_posts() #3 /home/is/www/wp-includes/class-wp.php(629): WP_Query->query(Array) #4 /home/is/www/wp-includes/class-wp.php(752): WP->query_posts() #5 /home/is/www/wp-includes/functions.php(1291): WP->main('') #6 /home/is/www/wp-blog-header.php(16): wp() #7 /home/is/www/index.php(17): require('/home/is...') #8 {main} thrown in /home/is/www/wp-includes/class-wp-query.php on line 782
Does anybody know what is the cause of this issue?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array’ is closed to new replies.