Fatal Error in wp-admin on all pages
-
[18-Sep-2023 22:06:25 UTC] PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in /app/wp-includes/class-wp-user-query.php:483Stack trace:#0 /app/wp-includes/class-wp-user-query.php(483): array_filter(NULL)#1 /app/wp-includes/class-wp-user-query.php(79): WP_User_Query->prepare_query(Array)#2 /app/wp-includes/user.php(775): WP_User_Query->__construct(Array)#3 /app/wp-includes/user.php(1668): get_users(Array)#4 /app/wp-admin/includes/meta-boxes.php(977): wp_dropdown_users(Array)#5 /app/wp-admin/includes/template.php(1443): post_author_meta_box(Object(WP_Post), Array)#6 /app/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), 'normal', Object(WP_Post))#7 /app/wp-admin/post.php(206): require('/app/wp-admin/e...')#8 {main}thrown in /app/wp-includes/class-wp-user-query.php on line 483
I have a website updated to PHP 8.1 and wordpress 6.3.1. I’m getting the above error inside /wp-admin on the pages overview page, as well as inside individual pages.
Disabling all other plugins has no effect, it only resolves when I disable this ‘disable gutenberg’ plugin. Switching to a default theme also has no effect, the errors persist.
Downgrading to PHP 7.4 prevents it from being a fatal error, but the error is still present.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Error in wp-admin on all pages’ is closed to new replies.