Home Forums WoodMart support forum Fatal error: Uncaught Error: Call to undefined function woodmart_elementor_is_ed

Fatal error: Uncaught Error: Call to undefined function woodmart_elementor_is_ed

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #218999

    counselgad
    Participant

    hello

    when someone trying to register as a vendor am getting this error

    Fatal error: Uncaught Error: Call to undefined function woodmart_elementor_is_edit_mode() in /home/domum/public_html/wp-content/themes/woodmart/functions.php:200 Stack trace: #0 /home/domum/public_html/wp-includes/class-wp-hook.php(287): woodmart_enqueue_styles(”) #1 /home/domum/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home/domum/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/domum/public_html/wp-includes/script-loader.php(1999): do_action(‘wp_enqueue_scri…’) #4 /home/domum/public_html/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts(”) #5 /home/domum/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 /home/domum/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /home/domum/public_html/wp-includes/general-template.php(3007): do_action(‘wp_head’) #8 /home/domum/public_html/wp-content/plugins/wc-multivendor-marketplace/helpers/class-wcfmmp-store-setup.php(275): wp_head() #9 /home/domu in /home/domum/public_html/wp-content/themes/woodmart/functions.php on line 200

    #219000

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Please deactivate the plugins not related to the theme and check the issue once more. If the error persists, make the full backup of your site as well as the Theme settings export and check the issue on the Storefront theme to detect if our theme causes the problem.

    Best Regards

    #219111

    DanielHello
    Participant

    Hello,

    same problem for me:

    I encountered a serious problem:
    When a new vendor registers, then he/she normally will be redirected to the store setup wizard.

    This does not work anymore. The redirect works to the page …myexampledomain.com/?store-setup=yes but then it only shows fatal error message.

    Anyone has any idea or solution how to fix it? Thanks!

    I have WCFM Ultimate and woodmart theme from xtemos. I also use Elementor. Everything is up to date. WooCommerce log below

    2020-08-16T13:34:58+00:00 CRITICAL Uncaught Error: Call to undefined function woodmart_elementor_is_edit_mode() in /home/heimatge/public_html/wp-content/themes/woodmart/functions.php:200
    Stack trace:
    #0 /home/heimatge/public_html/wp-includes/class-wp-hook.php(287): woodmart_enqueue_styles(”)
    #1 /home/heimatge/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /home/heimatge/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/heimatge/public_html/wp-includes/script-loader.php(1999): do_action(‘wp_enqueue_scri…’)
    #4 /home/heimatge/public_html/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts(”)
    #5 /home/heimatge/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /home/heimatge/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /home/heimatge/public_html/wp-includes/general-template.php(3007): do_action(‘wp_head’)
    #8 /home/heimatge/public_html/wp-content/plugins/wc-multivendor-marketplace/helpers/class-wcfmmp-store-setup.php in /home/heimatge/public_html/wp-content/themes/woodmart/functions.php in Zeile 200

    #219160

    Artem Temos
    Keymaster

    Try to edit the file and change the following line /themes/woodmart/functions.php http://prntscr.com/tx74vd

    if ( woodmart_is_elementor_installed() && ( woodmart_elementor_is_edit_mode() || woodmart_elementor_is_preview_page() || woodmart_elementor_is_preview_mode() ) ) {

    to this one

    if ( woodmart_is_elementor_installed() && function_exists( 'woodmart_elementor_is_edit_mode' ) && ( woodmart_elementor_is_edit_mode() || woodmart_elementor_is_preview_page() || woodmart_elementor_is_preview_mode() ) ) {

    #219190

    DanielHello
    Participant

    Alright, that worked out!
    Great support, thanks for solution!

    Question: Will it be okay forever or do I have to check after every update of woodmart or other plugins?

    #219194

    Artem Temos
    Keymaster

    This bug will be fixed in our next theme update so you will not have any problems.

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

The topic ‘Fatal error: Uncaught Error: Call to undefined function woodmart_elementor_is_ed’ is closed to new replies.