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
While waiting for a response from one of our team members, we recommend to check Support Center where it is highly likely that you will find the answer to your question in no time.
FAQ | Video Tutorials | How to