Fatal error editing Shop Archive template in Elementor

When attempting to edit the Shop Archive template in Elementor we get an error. I was able to confirm that the the error occurs with both the child and parent theme active. I switched to twenty-twentyfive theme and was able to edit the archive page. Please see the error below:


PHP Fatal error: Uncaught Error: Class "Mfn_Builder_Front" not found in /srv/htdocs/wp-content/themes/betheme/woocommerce/loop/loop-start.php:59 Stack trace: #0 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(352): include() #1 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1194): wc_get_template('loop/loop-start...') #2 /srv/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(654): woocommerce_product_loop_start() #3 /srv/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(102): WC_Shortcode_Products->product_loop() #4 /srv/htdocs/wp-content/plugins/elementor-pro/modules/woocommerce/classes/base-products-renderer.php(22): WC_Shortcode_Products->get_content() #5 /srv/htdocs/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/products.php(378): ElementorPro\Modules\Woocommerce\Classes\Base_Products_Renderer->get_content() #6 /srv/htdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): ElementorPro\Modules\Woocommerce\Widgets\Products->render() #7 /srv/htdocs/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode() #8 /srv/htdocs/wp-content/plugins/elementor/includes/base/widget-base.php(765): Elementor\Widget_Base->render_content() #9 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(649): Elementor\Widget_Base->get_raw_data(true) #10 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(649): Elementor\Element_Base->get_raw_data(true) #11 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(649): Elementor\Element_Base->get_raw_data(true) #12 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(649): Elementor\Element_Base->get_raw_data(true) #13 /srv/htdocs/wp-content/plugins/elementor/core/base/document.php(1105): Elementor\Element_Base->get_raw_data(true) #14 /srv/htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(489): Elementor\Core\Base\Document->get_elements_raw_data(Array, true) #15 /srv/htdocs/wp-content/plugins/elementor/core/base/document.php(738): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_elements_raw_data(NULL, true) #16 /srv/htdocs/wp-content/plugins/elementor/modules/library/documents/library-document.php(72): Elementor\Core\Base\Document->get_initial_config() #17 /srv/htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(713): Elementor\Modules\Library\Documents\Library_Document->get_initial_config() #18 /srv/htdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(1071): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_initial_config() #19 /srv/htdocs/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(40): Elementor\Controls_Stack->get_config() #20 /srv/htdocs/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(176): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get() #21 /srv/htdocs/wp-content/plugins/elementor/core/editor/editor.php(355): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->enqueue_scripts() #22 /wordpress/core/7.0/wp-includes/class-wp-hook.php(341): Elementor\Core\Editor\Editor->enqueue_scripts('') #23 /wordpress/core/7.0/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #24 /wordpress/core/7.0/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #25 /wordpress/core/7.0/wp-includes/script-loader.php(2329): do_action('wp_enqueue_scri...') #26 /wordpress/core/7.0/wp-includes/class-wp-hook.php(341): wp_enqueue_scripts('') #27 /wordpress/core/7.0/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #28 /wordpress/core/7.0/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #29 /wordpress/core/7.0/wp-includes/general-template.php(3208): do_action('wp_head') #30 /srv/htdocs/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(35): wp_head() #31 /srv/htdocs/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(226): include('/srv/htdocs/wp-...') #32 /srv/htdocs/wp-content/plugins/elementor/core/editor/editor.php(160): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->print_root_template() #33 /wordpress/core/7.0/wp-includes/class-wp-hook.php(341): Elementor\Core\Editor\Editor->init('') #34 /wordpress/core/7.0/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #35 /wordpress/core/7.0/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #36 /wordpress/core/7.0/wp-admin/admin.php(429): do_action('admin_action_el...') #37 /wordpress/core/7.0/wp-admin/post.php(12): require_once('/wordpress/core...') #38 {main} thrown in /srv/htdocs/wp-content/themes/betheme/woocommerce/loop/loop-start.php on line 59

Comments

  • Hi,

    Please attach a screenshot showing where you are trying to edit the shop archive template.

    Also, do you have the Pro version of Elementor? Only the Pro version allows creating and editing shop templates, and in our demos, we use only the basic Elementor version.


    Best regards

  • Hi Phil,

    We are using Elementor Pro on the site. Here is a video capture of accessing the template within the Theme Builder screen. https://share.zight.com/12unx8ko

    Thanks!

    Jon

  • Please disable all plugins except WooCommerce and Elementor, and check if the problem persists.

    If this will not help, please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact, and we will check what the reason might be.

    Notice!

    Please attach a link to this forum discussion.

    Sending incorrect or incomplete data will result in a longer response time.

    Therefore, please ensure that the data you send are complete and correct.

    Thanks

  • I tested and the issue persists. I have sent an contact form with connection details.


    Thanks!

    Jon

  • There was a bug in the theme files. We have corrected it on your website, and it will also be fixed in the upcoming update.


    Best regards

  • Thank you! This appears to be working in the site now!

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.