Argument #1 ($array) must be of type array, null given
-
Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-includes/class-wp-user-query.php:483 Stack trace: #0 /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-includes/class-wp-user-query.php(483): array_filter(NULL) #1 /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-includes/class-wp-user-query.php(79): WP_User_Query->prepare_query(Array) #2 /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-includes/user.php(776): WP_User_Query->__construct(Array) #3 /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-includes/user.php(1669): get_users(Array) #4 /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-admin/includes/meta-boxes.php(976): wp_dropdown_users(Array) #5 /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-admin/includes/template.php(1456): post_author_meta_box(Object(WP_Post), Array) #6 /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-admin/edit-form-advanced.php(723): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post)) #7 /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-admin/post.php(206): require(‘/home/customer/…’) #8 {main} thrown in /home/customer/www/bowenrotary.koolkattest.com/public_html/wp-includes/class-wp-user-query.php on line 483
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Please note:
PHP 8.0.30, Theme 2023, all plugins except classic editor are deactivated. This is in the author metabox. There is no error if the classic editor is deactivated and the posts are edited with the block editor.
The page I need help with: [log in to see the link]
- The topic ‘Argument #1 ($array) must be of type array, null given’ is closed to new replies.