Warning: in_array() expects parameter 2 to be array, bool given in /home/ysl/vitan.com.ua/www/wp-content/themes/vitan/functions.php on line 852
Fatal error: Uncaught Error: Call to undefined function is_cart() in /home/ysl/vitan.com.ua/www/wp-content/themes/vitan/functions.php:565
Stack trace:
#0 /home/ysl/vitan.com.ua/www/wp-includes/class-wp-hook.php(307): redirect_to_checkout_if_cart('')
#1 /home/ysl/vitan.com.ua/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /home/ysl/vitan.com.ua/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#3 /home/ysl/vitan.com.ua/www/wp-includes/template-loader.php(13): do_action('template_redire...')
#4 /home/ysl/vitan.com.ua/www/wp-blog-header.php(19): require_once('/home/ysl/vitan...')
#5 /home/ysl/vitan.com.ua/www/index.php(17): require('/home/ysl/vitan...')
#6 {main}
thrown in /home/ysl/vitan.com.ua/www/wp-content/themes/vitan/functions.php on line 565
WordPress › Error