$file ) { return isset( $this->included_modules[ $file ] ) ? $this->included_modules[ $file ] : false; } /** * Select latest version path from all available. * * @param array $module_versions All available vaerions paths for selected module * @return string Module path. */ private function get_latest_version_path( array $module_versions = array() ) { // Immediately return path if array contain sinle element. if ( 1 === count( $module_versions ) ) { $module_versions = array_values( $module_versions ); return $module_versions[0]; } // Sort array by version and return highest uksort( $module_versions, 'version_compare' ); return end( $module_versions ); } /** * Store passed module version and path into global modules data. * * @param string $module_path Module path * @return boolean */ private function store_module_version( $module_path = null ) { $slug = basename( $module_path ); $modules_data = wp_cache_get( $this->key ); $modules_data = ! empty( $modules_data ) ? $modules_data : array(); if ( empty( $modules_data[ $slug ] ) ) { $modules_data[ $slug ] = array(); } $filedata = get_file_data( $module_path, array( 'version' => 'Version', ) ); if ( empty( $filedata['version'] ) ) { // If version not passed in file header, so module defined not correctly and not be included return false; } $current_version = $filedata['version']; if ( empty( $modules_data[ $slug ][ $current_version ] ) ) { $modules_data[ $slug ][ $current_version ] = $module_path; } $this->modules_slugs[] = $slug; wp_cache_set( $this->key, $modules_data, '', 1 ); return true; } } }
Fatal error: Uncaught Error: Class "Jet_Woo_Widgets_CX_Loader" not found in /htdocs/wp-content/plugins/jetwoo-widgets-for-elementor/jetwoo-widgets-for-elementor.php:97 Stack trace: #0 /htdocs/wp-includes/class-wp-hook.php(324): Jet_Woo_Widgets->load_framework('') #1 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #2 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /htdocs/wp-settings.php(682): do_action('after_setup_the...') #4 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #5 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #6 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #7 /htdocs/index.php(17): require('/htdocs/wp-blog...') #8 {main} thrown in /htdocs/wp-content/plugins/jetwoo-widgets-for-elementor/jetwoo-widgets-for-elementor.php on line 97