Home › Forums › WoodMart support forum › Error
Error
- This topic has 2 replies, 2 voices, and was last updated 10 months, 2 weeks ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
September 14, 2024 at 2:35 pm #597472
[email protected]ParticipantAll of a sudden the page started showing the error below:
/** * * The framework’s functions and definitions */ define( ‘WOODMART_THEME_DIR’, get_template_directory_uri() ); define( ‘WOODMART_THEMEROOT’, get_template_directory() ); define( ‘WOODMART_IMAGES’, WOODMART_THEME_DIR . ‘/images’ ); define( ‘WOODMART_SCRIPTS’, WOODMART_THEME_DIR . ‘/js’ ); define( ‘WOODMART_STYLES’, WOODMART_THEME_DIR . ‘/css’ ); define( ‘WOODMART_FRAMEWORK’, ‘/inc’ ); define( ‘WOODMART_DUMMY’, WOODMART_THEME_DIR . ‘/inc/dummy-content’ ); define( ‘WOODMART_CLASSES’, WOODMART_THEMEROOT . ‘/inc/classes’ ); define( ‘WOODMART_CONFIGS’, WOODMART_THEMEROOT . ‘/inc/configs’ ); define( ‘WOODMART_HEADER_BUILDER’, WOODMART_THEME_DIR . ‘/inc/header-builder’ ); define( ‘WOODMART_ASSETS’, WOODMART_THEME_DIR . ‘/inc/admin/assets’ ); define( ‘WOODMART_ASSETS_IMAGES’, WOODMART_ASSETS . ‘/images’ ); define( ‘WOODMART_API_URL’, ‘https://xtemos.com/wp-json/xts/v1/’ ); define( ‘WOODMART_DEMO_URL’, ‘https://woodmart.xtemos.com/’ ); define( ‘WOODMART_PLUGINS_URL’, WOODMART_DEMO_URL . ‘plugins/’ ); define( ‘WOODMART_DUMMY_URL’, WOODMART_DEMO_URL . ‘dummy-content-new/’ ); define( ‘WOODMART_TOOLTIP_URL’, WOODMART_DEMO_URL . ‘theme-settings-tooltips/’ ); define( ‘WOODMART_SLUG’, ‘woodmart’ ); define( ‘WOODMART_CORE_VERSION’, ‘1.0.44’ ); define( ‘WOODMART_WPB_CSS_VERSION’, ‘1.0.2’ ); if ( ! function_exists( ‘woodmart_load_classes’ ) ) { function woodmart_load_classes() { $classes = array( ‘class-singleton.php’, ‘class-api.php’, ‘class-config.php’, ‘class-layout.php’, ‘class-autoupdates.php’, ‘class-activation.php’, ‘class-notices.php’, ‘class-theme.php’, ‘class-registry.php’, ); foreach ( $classes as $class ) { require WOODMART_CLASSES . DIRECTORY_SEPARATOR . $class; } } } woodmart_load_classes(); new XTS\Theme(); define( ‘WOODMART_VERSION’, woodmart_get_theme_info( ‘Version’ ) );
Fatal error: Uncaught Error: Call to undefined function woodmart_get_theme_info() in /home/izibutik/koticekzate/wp-content/themes/woodmart-child/functions.php:6 Stack trace: #0 /home/izibutik/koticekzate/wp-includes/class-wp-hook.php(324): woodmart_child_enqueue_styles() #1 /home/izibutik/koticekzate/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #2 /home/izibutik/koticekzate/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /home/izibutik/koticekzate/wp-includes/script-loader.php(2263): do_action() #4 /home/izibutik/koticekzate/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #5 /home/izibutik/koticekzate/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /home/izibutik/koticekzate/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/izibutik/koticekzate/wp-includes/general-template.php(3065): do_action() #8 /home/izibutik/koticekzate/wp-content/themes/woodmart/header.php(12): wp_head() #9 /home/izibutik/koticekzate/wp-includes/template.php(810): require_once(‘/home/izibutik/…’) #10 /home/izibutik/koticekzate/wp-includes/template.php(745): load_template() #11 /home/izibutik/koticekzate/wp-includes/general-template.php(48): locate_template() #12 /home/izibutik/koticekzate/wp-content/themes/woodmart/page.php(13): get_header() #13 /home/izibutik/koticekzate/wp-includes/template-loader.php(106): include(‘/home/izibutik/…’) #14 /home/izibutik/koticekzate/wp-blog-header.php(19): require_once(‘/home/izibutik/…’) #15 /home/izibutik/koticekzate/index.php(17): require(‘/home/izibutik/…’) #16 {main} thrown in /home/izibutik/koticekzate/wp-content/themes/woodmart-child/functions.php on line 6
Na strani je prišlo do kritične napake.Attachments:
You must be logged in to view attached files.September 14, 2024 at 7:18 pm #597512
[email protected]ParticipantWe fixed it!
September 16, 2024 at 9:27 am #597610
Aizaz Imtiaz AwanKeymasterHello,
You are Most Welcome.
We are glad that you managed to solve the problem yourself. You are Great!!!
Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Have a wonderful day.
Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Error’ is closed to new replies.
- You must be logged in to create new topics. Login / Register