/** * Kadence functions and definitions * * This file must be parseable by PHP 5.2. * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package kadence */ define( 'KADENCE_VERSION', '1.4.5' ); define( 'KADENCE_MINIMUM_WP_VERSION', '6.0' ); define( 'KADENCE_MINIMUM_PHP_VERSION', '7.4' ); // Bail if requirements are not met. if ( version_compare( $GLOBALS['wp_version'], KADENCE_MINIMUM_WP_VERSION, '<' ) || version_compare( phpversion(), KADENCE_MINIMUM_PHP_VERSION, '<' ) ) { require get_template_directory() . '/inc/back-compat.php'; return; } // Include WordPress shims. require get_template_directory() . '/inc/wordpress-shims.php'; // Load the `kadence()` entry point function. require get_template_directory() . '/inc/class-theme.php'; // Load the `kadence()` entry point function. require get_template_directory() . '/inc/functions.php'; // Initialize the theme. call_user_func( 'Kadence\kadence' ); Fatal error: Uncaught Error: Call to undefined function Kadence\kadence() in /home/orchuotr/public_html/wp-content/themes/kadence/header.php:20 Stack trace: #0 /home/orchuotr/public_html/wp-includes/template.php(814): require_once() #1 /home/orchuotr/public_html/wp-includes/template.php(749): load_template('/home/orchuotr/...', true, Array) #2 /home/orchuotr/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #3 /home/orchuotr/public_html/wp-content/themes/kadence/page.php(14): get_header() #4 /home/orchuotr/public_html/wp-includes/template-loader.php(132): include('/home/orchuotr/...') #5 /home/orchuotr/public_html/wp-blog-header.php(19): require_once('/home/orchuotr/...') #6 /home/orchuotr/public_html/index.php(17): require('/home/orchuotr/...') #7 {main} thrown in /home/orchuotr/public_html/wp-content/themes/kadence/header.php on line 20