Fatal error: Uncaught Error: Call to undefined function WC() in /wp-content/themes/2017art2/functions.php:586
Stack trace:
#0 /wp-includes/class-wp-hook.php(294): my_dynamic_menu_items(Array)
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
#2 /wp-includes/nav-menu-template.php(226): apply_filters('wp_nav_menu_obj...', Array, Object(stdClass))
#3 /wp-content/themes/2017art2/header-shop.php(80): wp_nav_menu(Object(stdClass))
#4 /wp-includes/template.php(730): require_once('/wp-content/the...')
#5 /wp-includes/template.php(676): load_template('//wp-content/th...', true, Array)
#6 /wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#7 /wp-content/themes/2017art2/page-sklep.php(4): get_header('shop')
#8 /wp-includes/template-loader.php(106): include('/wp-content/the...')
#9 /wp-blog-header.php(19): require_once('/wp-includes/te...')
#10 /index.php(17): require('/wp-blog-header...')
#11 {main}
thrown in
/wp-content/themes/2017art2/functions.php on line
586