Home Forums WoodMart support forum Uncaught Error: Call to undefined function woodmart_single_product_class()

Uncaught Error: Call to undefined function woodmart_single_product_class()

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #644171

    ignas.bsp
    Participant

    Hello,

    I have encountered an issue that prevents us from working. When trying to edit a product using Elementor, it freezes. Everything is updated to the latest versions. I tried disabling plugins, but the error still appears.

    Error:

    Uncaught Error: Call to undefined function woodmart_single_product_class() in /var/www/vhosts/orokon.lt/httpdocs/wp-content/themes/woodmart/woocommerce/content-single-product.php:36
    Stack trace:
    #0 /var/www/vhosts/orokon.lt/httpdocs/wp-includes/template.php(812): require()
    #1 /var/www/vhosts/orokon.lt/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(285): load_template()
    #2 /var/www/vhosts/orokon.lt/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(641): wc_get_template_part()
    #3 /var/www/vhosts/orokon.lt/httpdocs/wp-includes/shortcodes.php(434): WC_Shortcodes::product_page()
    #4 [internal function]: do_shortcode_tag()
    #5 /var/www/vhosts/orokon.lt/httpdocs/wp-includes/shortcodes.php(273): preg_replace_callback()
    #6 /var/www/vhosts/orokon.lt/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php(634): do_shortcode()
    #7 /var/www/vhosts/orokon.lt/httpdocs/wp-includes/class-wp-hook.php(324): WC_Template_Loader::unsupported_theme_product_content_filter()
    #8 /var/www/vhosts/orokon.lt/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #9 /var/www/vhosts/orokon.lt/httpdocs/wp-includes/post-template.php(256): apply_filters()
    #10 /var/www/vhosts/orokon.lt/httpdocs/wp-content/plugins/elementor/modules/page-templates/module.php(190): the_content()
    #11 [internal function]: Elementor\Modules\PageTemplates\Module->print_callback()
    #12 /var/www/vhosts/orokon.lt/httpdocs/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func()
    #13 /var/www/vhosts/orokon.lt/httpdocs/wp-content/plugins/elementor/modules/page-templates/templates/canvas.php(39): Elementor\Modules\PageTemplates\Module->print_content()
    #14 /var/www/vhosts/orokon.lt/httpdocs/wp-includes/template-loader.php(106): include(‘…’)
    #15 /var/www/vhosts/orokon.lt/httpdocs/wp-blog-header.php(19): require_once(‘…’)
    #16 /var/www/vhosts/orokon.lt/httpdocs/index.php(17): require(‘…’)
    #17 {main}
    thrown

    #644174

    ignas.bsp
    Participant

    With other pages same, when trying to edit them with Elementor, editing window does not open and it freezes

    #644338

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
    – WoodMart core
    – WooCommerce
    – Elementor/WPBakery Page Builder

    Thank you in advance.

    #647005

    ignas.bsp
    Participant

    Hello,

    After creating a staging version of the website via Plesk, I noticed that the issue does not occur on the staging site—everything works fine there, and Elementor loads without issues.

    Could you please help us understand what might be causing this issue on the live site? Have you encountered a similar issue before?

    Since the staging site was copied from the live site, it suggests that something specific to the live environment might be causing the problem. Any insights or suggestions would be greatly appreciated.

    Thank you in advance!

    Best regards,

    #647057

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    We need to check your website without a plugin to identify the problem. Otherwise, we can’t say what is wrong.

    Kind Regards

    #647179

    ignas.bsp
    Participant

    Would it be possible to agree on a specific time when I could prepare the live website for you with the plugins disabled? During that time, customers won’t be able to make purchases, and the website won’t function properly, which will also negatively impact Google SEO. I can’t just disable the live website for an indefinite period, so could we arrange a suitable time for this?

    Or maybe there is another solution? For example, using Site Health – Troubleshooting mode to disable plugins, so you could check the issue while the live website continues to function properly.

    #647222

    Artem Temos
    Keymaster
    Xtemos team

    Please send us your admin access so we can check the error first without deactivating the plugin.

    #647372

    ignas.bsp
    Participant

    Ok, thank you!

    #647376

    ignas.bsp
    Participant

    Currently, all versions are not fully updated because I rolled back. Before that, I had updated to the latest versions, but the same issue still occurred.

    #647484

    Artem Temos
    Keymaster
    Xtemos team

    Currently, we don’t see any problems on this website. https://monosnap.com/file/DvTC5fXDJ7M7yvOPvHmwv4JsPi2nC2
    Could you please clarify how to reproduce it?

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