alasdaira
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [Search Exclude] Critical Error with The Events CalendarThat has fixed it for me too. Thank you for the quick turnaround.
Forum: Plugins
In reply to: [Search Exclude] Critical Error with The Events CalendarI am also getting a fatal error from Search Exclude when trying to update an Events Calendar event. The stack trace is below and points to the line in /wp-content/plugins/search-exclude/lib/controllers/class-backend.php which contains:
$entries[ $post_type ]['ids'] = array_values( array_diff( $entries[ $post_type ]['ids'], $post_ids ) );
My site is running WordPress version 6.7.1 Active theme: Divi Child Theme (version ) Current plugin: Search Exclude (version 2.1.9) PHP version 8.2.25
In my case deactivating Search Exclude fixes the problem.
Stack trace:
Error Details ============= An error of type E_ERROR was caused in line 180 of the file /data03/fishhelp/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php.
Error message: Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, null given in /data03/fishhelp/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php:180 Stack trace:
#0 /data03/fishhelp/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php(180): array_diff(NULL, Array)
#1 /data03/fishhelp/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php(166): QuadLayers\QLSE\Controllers\Backend->save_post_ids_to_search_exclude(Array, false)
#2 /data03/fishhelp/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php(308): QuadLayers\QLSE\Controllers\Backend->save_post_id_to_search_exclude(226828, false)
#3 /data03/fishhelp/public_html/wp-includes/class-wp-hook.php(326): QuadLayers\QLSE\Controllers\Backend->post_save(226828)
#4 /data03/fishhelp/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /data03/fishhelp/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /data03/fishhelp/public_html/wp-includes/post.php(5029): do_action('post_updated', 226828, Object(WP_Post), Object(WP_Post))
#7 /data03/fishhelp/public_html/wp-includes/post.php(5162): wp_insert_post(Array, false, true)
#8 /data03/fishhelp/public_html/wp-admin/includes/post.php(453): wp_update_post(Array)
#9 /data03/fishhelp/public_html/wp-admin/post.php(227): edit_post()
#10 {main} thrown
Viewing 2 replies - 1 through 2 (of 2 total)