وردپرس

Purchase Summary Widget breaks site


Hi there

Our site breaks when we try to edit our shop (woocommerce) with elementor, below is the error message.

Can you please help me out? Our php version is 8.2.14 and elementor / elementor pro version is 3.23.4.

WooCommerce 9.1.4.

E_ERROR 1712 in file /var/www/html/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php.Error message: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_order_key() in /var/www/html/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php:1712 Stack trace: #0 /var/www/html/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php(1636): ElementorPro\Modules\Woocommerce\Widgets\Purchase_Summary->set_preview_order() #1 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(2315): ElementorPro\Modules\Woocommerce\Widgets\Purchase_Summary->render() #2 /var/www/html/wp-content/plugins/elementor/includes/base/widget-base.php(634): Elementor\Controls_Stack->render_by_mode() #3 /var/www/html/wp-content/plugins/elementor/includes/base/widget-base.php(758): Elementor\Widget_Base->render_content() #4 /var/www/html/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Widget_Base->get_raw_data() #5 /var/www/html/wp-content/plugins/elementor/core/base/document.php(1067): Elementor\Element_Base->get_raw_data() #6 /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(435): Elementor\Core\Base\Document->get_elements_raw_data() #7 /var/www/html/wp-content/plugins/elementor/core/base/document.php(723): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_elements_raw_data() #8 /var/www/html/wp-content/plugins/elementor/modules/library/documents/library-document.php(66): Elementor\Core\Base\Document->get_initial_config() #9 /var/www/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(657): Elementor\Modules\Library\Documents\Library_Document->get_initial_config() #10 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(1060): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_initial_config() #11 /var/www/html/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(37): Elementor\Controls_Stack->get_config() #12 /var/www/html/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(76): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get() #13 /var/www/html/wp-content/plugins/elementor/core/editor/editor.php(358): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->enqueue_scripts() #14 /var/www/html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->enqueue_scripts() #15 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #16 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #17 /var/www/html/wp-includes/script-loader.php(2265): do_action() #18 /var/www/html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #19 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #20 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #21 /var/www/html/wp-includes/general-template.php(3050): do_action() #22 /var/www/html/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head() #23 /var/www/html/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(110): include('...') #24 /var/www/html/wp-content/plugins/elementor/core/editor/editor.php(163): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->print_root_template() #25 /var/www/html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init() #26 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #27 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #28 /var/www/html/wp-admin/admin.php(419): do_action() #29 /var/www/html/wp-admin/post.php(12): require_once('...') #30 {main} thrown

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا