• Hello,
    I got error in my store admin panel – initially it turns out that it was because of PHP version as it was 7.3 and recent WooCommerce requires at least 8.0
    After I updated to PHP 8.2 it is all fine with WooCommerce but that can not be said about Advanced AJAX Product Filters for WooCommerce.
    When I activate it I get error on the code example below and my WP Admin is not accessible at all.

    Fatal error: Uncaught Error: Cannot create references to/from string offsets in /home/krushk374/public_html/wp-content/plugins/woocommerce-ajax-filters/berocket/includes/admin_notices.php:154 Stack trace: #0 /home/krushk374/public_html/wp-content/plugins/woocommerce-ajax-filters/berocket/includes/admin_notices.php(59): berocket_admin_notices::set_notice_by_path(Array) #1 /home/krushk374/public_html/wp-content/plugins/woocommerce-ajax-filters/berocket/includes/admin_notices.php(785): berocket_admin_notices->__construct(Array) #2 /home/krushk374/public_html/wp-content/plugins/woocommerce-ajax-filters/berocket/framework.php(456): berocket_admin_notices::generate_subscribe_notice() #3 /home/krushk374/public_html/wp-content/plugins/woocommerce-ajax-filters/main.php(1626): BeRocket_Framework->admin_init() #4 /home/krushk374/public_html/wp-includes/class-wp-hook.php(310): BeRocket_AAPF->admin_init('') #5 /home/krushk374/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #6 /home/krushk374/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/krushk374/public_html/wp-admin/admin.php(175): do_action('admin_init') #8 /home/krushk374/public_html/wp-admin/plugins.php(10): require_once('/home/krushk374...') #9 {main} thrown in /home/krushk374/public_html/wp-content/plugins/woocommerce-ajax-filters/berocket/includes/admin_notices.php on line 154



    Anyone has any idea what I should do?
    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hello,

    If your “WP Admin is not accessible at all” you need to connect to the site using FTP and remove our plugin or rename folder. This will deactivate the plugin.

    What PHP version do you have? I have PHP 8.1.8 and no issues like that.

    Regards,
    Dmytro

    Thread Starter geshaa

    (@geshaa)

    I restore my WP admin using phpMyAdmin and go to wp_options table and from there I have cleared up plugins row.

    I tried with PHP 8.0, 8.1 and 8.2 as these are only available in my hosting.

    Thread Starter geshaa

    (@geshaa)

    @dholovnia could it be bacause of number of products in store > 15 000?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with PHP 8.X and WooCommerce 8.2.0’ is closed to new replies.