Fatal error: Uncaught Error: Call to a member function add_filter() on array in /home/alfrs/public_html/wp-includes/plugin.php:128
Stack trace:
#0 /home/alfrs/public_html/wp-includes/plugin.php(447): add_filter('shutdown', Array, 20, 1)
#1 /home/alfrs/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(94): add_action('shutdown', Array, 20)
#2 /home/alfrs/public_html/wp-content/plugins/woocommerce/includes/class-wc-session-handler.php(83): WC_Session_Handler->init_hooks()
#3 /home/alfrs/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(1198): WC_Session_Handler->init()
#4 /home/alfrs/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(2530): WooCommerce->initialize_session()
#5 /home/alfrs/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(960): wc_load_cart()
#6 /home/alfrs/public_html/wp-includes/class-wp-hook.php(341): WooCommerce->init('')
#7 /home/alfrs/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#8 /home/alfrs/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#9 /home/alfrs/public_html/wp-settings.php(771): do_action('init')
#10 /home/alfrs/public_html/wp-config.php(114): require_once('/home/alfrs/pub...')
#11 /home/alfrs/public_html/wp-load.php(50): require_once('/home/alfrs/pub...')
#12 /home/alfrs/public_html/wp-blog-header.php(13): require_once('/home/alfrs/pub...')
#13 /home/alfrs/public_html/index.php(17): require('/home/alfrs/pub...')
#14 {main}
thrown in /home/alfrs/public_html/wp-includes/plugin.php on line 128
Fatal error: Uncaught Error: Call to a member function do_action() on array in /home/alfrs/public_html/wp-includes/plugin.php:522
Stack trace:
#0 /home/alfrs/public_html/wp-includes/load.php(1308): do_action('shutdown')
#1 [internal function]: shutdown_action_hook()
#2 {main}
thrown in /home/alfrs/public_html/wp-includes/plugin.php on line 522