Home › Forums › WoodMart support forum › Iam getting some Fatal error
Iam getting some Fatal error
- This topic has 1 reply, 2 voices, and was last updated 3 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
May 9, 2021 at 10:04 pm #291079
extromarketingagencyParticipanthello,
I am using WCFM Multivendor plugin with woodmart.
but after doing vendor registration am getting a Fatal error.here is the complete error that I am getting
“Fatal error: Uncaught Error: Call to undefined function woodmart_elementor_is_edit_mode() in /home/u102329548/domains/basecanopy.com/public_html/wp-content/themes/woodmart/inc/enqueue.php:25 Stack trace: #0 /home/u102329548/domains/basecanopy.com/public_html/wp-content/themes/woodmart/inc/enqueue.php(40): woodmart_is_combined_needed(‘combined_js_lib…’, false) #1 /home/u102329548/domains/basecanopy.com/public_html/wp-includes/class-wp-hook.php(292): woodmart_register_libraries_scripts(”) #2 /home/u102329548/domains/basecanopy.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #3 /home/u102329548/domains/basecanopy.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /home/u102329548/domains/basecanopy.com/public_html/wp-includes/script-loader.php(2027): do_action(‘wp_enqueue_scri…’) #5 /home/u102329548/domains/basecanopy.com/public_html/wp-includes/class-wp-hook.php(292): wp_enqueue_scripts(”) #6 /home/u102329548/domains/basecanopy.com/public_html/wp-includes/ in /home/u102329548/domains/basecanopy.com/public_html/wp-content/themes/woodmart/inc/enqueue.php on line 25There has been a critical error on this website.”
please help me to fix this.
Thank You
Attachments:
You must be logged in to view attached files.May 10, 2021 at 7:51 am #291153
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to fix this
function woodmart_elementor_is_edit_mode() { if ( ! woodmart_is_elementor_installed() ) { return false; } return Elementor\Plugin::$instance->editor->is_edit_mode(); } function woodmart_elementor_is_preview_mode() { return Elementor\Plugin::$instance->preview->is_preview_mode(); } function woodmart_elementor_is_preview_page() { return isset( $_GET['preview_id'] ); }
-
AuthorPosts
Tagged: Fatal error
- You must be logged in to create new topics. Login / Register