Home Forums WoodMart support forum Iam getting some Fatal error

Iam getting some Fatal error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #291079

    hello,
    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 25

    There 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.
    #291153

    Artem Temos
    Keymaster

    Try 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'] );
    }

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)