Warning: foreach() argument must be of type array|object, bool given in wp-content/plugins/participants-database/classes/PDb_Admin_Notices.php on line 193
Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in wp-content/plugins/participants-database/classes/PDb_Admin_Notices.php:305 Stack trace: #0 wp-content/plugins/participants-database/classes/PDb_Admin_Notices.php(305): array_filter() #1 wp-content/plugins/participants-database/classes/PDb_Admin_Notices.php(221): PDb_Admin_Notices->purge_transient_notices() #2 wp-includes/class-wp-hook.php(308): PDb_Admin_Notices->action_admin_notices() #3 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 wp-includes/plugin.php(517): WP_Hook->do_action() #5 wp-admin/admin-header.php(303): do_action() #6 wp-admin/plugins.php(605): require_once('/home/rwriteor/...') #7 {main} thrown in wp-content/plugins/participants-database/classes/PDb_Admin_Notices.php on line 305
This error is not related to WordPress 6.3, I’ve been running Participants Database on that version since it was released without problems.
This indicates the admin message queue is corrupted. You can clear this by going to the plugin settings page, under the Admin tab, check “Clear Plugin Admin Notices” and submit.
If the error prevents you from opening that page, then in your browser location bar, add this to the URL:
&clear_pdb_notices
The URL will look something like this:
wp-admin/admin.php?page=participants-database_settings_page&clear_pdb_notices
Then hit return and it will reset the admin message queue.
That’s very helpful and fixed the issue. Thank you!!!