Fatal error: Uncaught Error: Call to undefined function is_product_category() in /var/www/html/wp-content/themes/palace/functions/theme-settings.php:127 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(286): redirect_to_single_post('') #1 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /var/www/html/wp-includes/template-loader.php(13): do_action('template_redire...') #4 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...') #5 /var/www/html/index.php(17): require('/var/www/html/w...') #6 {main} thrown in /var/www/html/wp-content/themes/palace/functions/theme-settings.php on line 127