fatal error
-
Hi,
I want to report a bug in the pro version as well.
Out-of-Stock email still coming even though Disable backorder email notifications is checked.
Furthermore the plugin is showing fatal errors in the logs:
2021-11-30T13:18:45+00:00 CRITICAL Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-content/plugins/woo-backorder-manager-pro/woo-backorder-manager-pro.php:669 Stack trace: #0 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-content/plugins/woo-backorder-manager-pro/woo-backorder-manager-pro.php(669): strpos(Array, ‘ available ‘) #1 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-includes/class-wp-hook.php(303): WooBackorderManagerPro->wcbm_get_availability_text(’’, Object(WC_Product_Variable)) #2 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-includes/plugin.php(189): WP_Hook->apply_filters(’’, Array) #3 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(2082): apply_filters(‘woocommerce_get…’, ’’, Object(WC_Product_Variable)) #4 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(2058): WC_Product->get_availability_text() #5 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3512): WC_Product->get_availability() #6 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-content/plugins/et-core-plugin/app/models/customizer/class-ajax-search.php(313): wc_get_stock_html(Object(WC_Product_Variable)) #7 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-includes/class-wp-hook.php(303): Etheme_ajax_search->search_results(’’) #8 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(’’, Array) #9 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #10 /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-admin/admin-ajax.php(187): do_action(‘wp_ajax_etheme_…’) #11 {main} thrown in /data/f/c/fc2fe6bd-5916-44b4-b9c0-13c5319e4e79/XXXXXX/web/wp-content/plugins/woo-backorder-manager-pro/woo-backorder-manager-pro.php on line 669
kind regards Michal
- The topic ‘fatal error’ is closed to new replies.