Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array
-
Hi, on my customers site the whole website is not accessible anymore once Auto coupons plug-in is activated. It worked fine all the time, but since yesterday it’s throwing the following error. Happened with 3.0.28 and keeps happening after updating to 3.0.29. The website works fine again once we deactivate the plug-in.
Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array, string given
in /usr/www/users/frauei/wp/wp-content/plugins/woo-auto-coupons/wac_functions.php on line 527Call stack:
in_array()
wp-content/plugins/woo-auto-coupons/wac_functions.php:527wac_qty_in_cart()
wp-content/plugins/woo-auto-coupons/wac_functions.php:650wac_apply_coupons()
wp-includes/class-wp-hook.php:324WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-content/plugins/woocommerce/includes/class-wc-cart-session.php:222WC_Cart_Session::get_cart_from_session()
wp-includes/class-wp-hook.php:324WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-settings.php:726require_once('/usr/www/users/xxx/wp/wp-settings.php')
wp-config.php:116require_once('/usr/www/users/xxx/wp/wp-config.php')
wp-load.php:50require_once('/usr/www/users/xxx/wp/wp-load.php')
wp-blog-header.php:13require('/usr/www/users/xxx/wp/wp-blog-header.php')
index.php:17
The page I need help with: [log in to see the link]
The topic ‘Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array’ is closed to new replies.