Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, bool given in /srv/vhost/deporteshollywood.com/home/html/wp-content/plugins/woocommerce-members-only/inc/functions-products.php:619
Stack trace:
#0 /srv/vhost/deporteshollywood.com/home/html/wp-content/plugins/woocommerce-members-only/inc/functions-products.php(619): array_keys()
#1 /srv/vhost/deporteshollywood.com/home/html/wp-content/plugins/woocommerce-members-only/inc/functions-helpers.php(351): wcmo_get_products_restricted_by_current_user_single()
#2 /srv/vhost/deporteshollywood.com/home/html/wp-content/plugins/woocommerce-members-only/inc/functions-helpers.php(409): wcmo_is_content_restricted()
#3 /srv/vhost/deporteshollywood.com/home/html/wp-includes/class-wp-hook.php(308): wcmo_do_redirect()
#4 /srv/vhost/deporteshollywood.com/home/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /srv/vhost/deporteshollywood.com/home/html/wp-includes/plugin.php(565): WP_Hook->do_action()
#6 /srv/vhost/deporteshollywood.com/home/html/wp-includes/class-wp.php(797): do_action_ref_array()
#7 /srv/vhost/deporteshollywood.com/home/html/wp-includes/functions.php(1334): WP->main()
#8 /srv/vhost/deporteshollywood.com/home/html/wp-blog-header.php(16): wp()
#9 /srv/vhost/deporteshollywood.com/home/html/index.php(17): require('...')
#10 {main}
thrown in /srv/vhost/deporteshollywood.com/home/html/wp-content/plugins/woocommerce-members-only/inc/functions-products.php on line 619
WordPress › Error