• Search Exclude caused a critical error in our website. Seems to be The Events Calendar that is the only thing it has effected. WordPress caught an error with one of your plugins, Search Exclude. The Events page went to a completely white page and seems to have vanished on the website. Even after deactivating Search Exclude the Events page has not come back and we are unsure how to get it back. This seemed to happen after the last update. We are on Version 2.1.9 for Search Exclude. The events Calendar is on 6.8.2.

    Can you help us get the Events calendar back? Do you know what caused it with Search Exclude?

    Error Details

    =============

    An error of type E_ERROR was caused in line 188 of the file /home/customer/www/rebeldonegans.com/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php. Error message: Uncaught TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given in /home/customer/www/rebeldonegans.com/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php:188

    Stack trace:

    #0 /home/customer/www/rebeldonegans.com/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php(188): array_search(7006, NULL)

    #1 /home/customer/www/rebeldonegans.com/public_html/wp-content/plugins/search-exclude/lib/controllers/class-backend.php(284): QuadLayers\QLSE\Controllers\Backend->is_excluded(7006)

    #2 /home/customer/www/rebeldonegans.com/public_html/wp-includes/class-wp-hook.php(324): QuadLayers\QLSE\Controllers\Backend->add_column_value('search_exclude', 7006)

    #3 /home/customer/www/rebeldonegans.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #4 /home/customer/www/rebeldonegans.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #5 /home/customer/www/rebeldonegans.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(1385): do_action('manage_posts_cu...', 'search_exclude', 7006)

    #6 /home/customer/www/rebeldonegans.com/public_html/wp-admin/includes/class-wp-list-table.php(1802): WP_Posts_List_Table->column_default(Object(WP_Post), 'search_exclude')

    #7 /home/customer/www/rebeldonegans.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(1437): WP_List_Table->single_row_columns(Object(WP_Post))

    #8 /home/customer/www/rebeldonegans.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(839): WP_Posts_List_Table->single_row(Object(WP_Post), 0)

    #9 /home/customer/www/rebeldonegans.com/public_html/wp-admin/includes/class-wp-posts-list-table.php(815): WP_Posts_List_Table->_display_rows(Array, 0)

    #10 /home/customer/www/rebeldonegans.com/public_html/wp-admin/includes/class-wp-list-table.php(1712): WP_Posts_List_Table->display_rows()

    #11 /home/customer/www/rebeldonegans.com/public_html/wp-admin/includes/class-wp-list-table.php(1639): WP_List_Table->display_rows_or_placeholder()

    #12 /home/customer/www/rebeldonegans.com/public_html/wp-admin/edit.php(503): WP_List_Table->display()

    #13 {main}

    ? thrown

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I 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
    Plugin Support jmatiasmastro

    (@jmatiasmastro)

    @alandonegan @alasdaira

    We want to inform you that we’ve released a new version 2.2.0 of Search Exclude to address the issues that have been reported. We need you to update and give us your feedback so we can adjust any issues that may persist.

    Best regards, Quadlayers Support Team.

    Thread Starter alandonegan

    (@alandonegan)

    that fixed it!! Thank you!!!

    That has fixed it for me too. Thank you for the quick turnaround.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.