Fatal error: Uncaught Error: Call to a member function has_session() on null in /wp-content/themes/wagas/functions.php:8
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): ensure_wc_session_started('')
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /wp-settings.php(704): do_action('init')
#4 /wp-config.php(106): require_once('/wp-settings.ph...')
#5 /wp-load.php(50): require_once('/wp-config.php')
#6 /wp-blog-header.php(13): require_once('/wp-load.php')
#7 /index.php(17): require('/wp-blog-header...')
#8 {main}
thrown in /wp-content/themes/wagas/functions.php on line 8