Quantcast
Channel: WordPress.org Forums » [Search Exclude] Support
Viewing all articles
Browse latest Browse all 98

Latest version broke the editing page

$
0
0

Replies: 1

Hi,

I just updated Search Exclude to version 2.1.9. Everything seems fine until i tried to save changes after updating a product page. It gave me an internal error. I’ve had to revert back to version 2.1.8 which was very stable.

Here is the error log:

WordPress version 6.6.2
Current plugin: Search Exclude (version 2.1.9)
PHP version 8.2.16

Error Details
=============
An error of type E_ERROR was caused in line 180 of the file /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 /wp-content/plugins/search-exclude/lib/controllers/class-backend.php:180
Stack trace:
#0 wp-content/plugins/search-exclude/lib/controllers/class-backend.php(180): array_diff()
#1 /wp-content/plugins/search-exclude/lib/controllers/class-backend.php(166): QuadLayers\QLSE\Controllers\Backend->save_post_ids_to_search_exclude()
#2 /wp-content/plugins/search-exclude/lib/controllers/class-backend.php(308): QuadLayers\QLSE\Controllers\Backend->save_post_id_to_search_exclude()
#3 /wp-includes/class-wp-hook.php(326): QuadLayers\QLSE\Controllers\Backend->post_save()
#4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-includes/post.php(4860): do_action()
#7 /wp-includes/post.php(4993): wp_insert_post()
#8 /wp-admin/includes/post.php(453): wp_update_post()
#9 /wp-admin/post.php(227): edit_post()
#10 {main}
  thrown


Viewing all articles
Browse latest Browse all 98

Trending Articles