• Resolved mcitemlist

    (@mcitemlist)


    i saw some report about the same issue but im getting this issue with 2.1.9 when i try to update the price of my woocommerce products

    WordPress version 6.7.1
    Active theme: OceanWP (version 4.0.3)
    Current plugin: Search Exclude (version 2.1.9)
    PHP version 8.3.13

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

    Plugin Support jmatiasmastro

    (@jmatiasmastro)

    @mcitemlist @krypsin

    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.

    @jmatiasmastro

    I just tested 2.2.0 – so far errors seem to be gone, but something went amiss with woocommerce compatibility. Up in 2.1.7, your plugin handled well whenever products should be hidden in searches outside the scope of woocommerce itself (any theme/plugin calling wp_query on any post_type, as an example). After the update from 2.1.7 to 2.2.0 all previously-hidden products are now “visibile” and setting them back to hidden (1 by 1, anyway… musltiselect action is not available on post type product) the products still show as posts on any simple search (i.e. putting ?s=name in the address bar).

    Reverted back to 2.1.7 again (had to resume back all exclusion from products and pages…).

    Wish you luck,

    Alex

    @jmatiasmastro There are no more errors which is good. However, posts are not being hidden so the plugin isn’t working.

    Thread Starter mcitemlist

    (@mcitemlist)

    i just disabled the plugin until everything get fix.

    Plugin Support jmatiasmastro

    (@jmatiasmastro)

    @krypsin Thanks for updating your ticket!

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