Hi @bobkata
Thanks for reaching out!
I understand you are unable to edit your single product template editor after updating to PHP 8.
I’d like to understand your site properly, can you please share your System Status Report, that will help us further troubleshoot.
You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.
If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.
Hello, and thank you for your support. It seems the error is came from WCFM plugin when I deactivate it everything is working. I`m currently open a ticket with WC Lovers and I hope it will be managed.
here is the error if you came up with any ideas.
E_ERROR from line 47 of file /wp-content/plugins/woocommerce/templates/single-product/tabs/tabs.php. Error: Uncaught TypeError: call_user_func(): Argument
#1 ($callback) must be a valid callback, first array member is not a valid class name or object in /wp-content/plugins/woocommerce/templates/single-product/tabs/tabs.php:47
Stack trace:
#0 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /wp-content/plugins/elementor-pro/modules/woocommerce/widgets/product-data-tabs.php(279): wc_get_template()
#2 /wp-content/plugins/elementor/includes/base/controls-stack.php(2266): ElementorPro\Modules\Woocommerce\Widgets\Product_Data_Tabs->render()
#3 /wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode()
#4 /wp-content/plugins/elementor/includes/base/widget-base.php(733): Elementor\Widget_Base->render_content()
#5 /wp-content/plugins/elementor/includes/base/element-base.php(534): Elementor\Widget_Base->get_raw_data()
#6 /wp-content/plugins/elementor/core/base/document.php(958): Elementor\Element_Base->get_raw_data()
#7 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(444): Elementor\Core\Base\Document->get_elements_raw_data()
#8 /wp-content/plugins/elementor/core/base/document.php(632): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_elements_raw_data()
#9 /wp-content/plugins/elementor/modules/library/documents/library-document.php(66): Elementor\Core\Base\Document->get_initial_config()
#10 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(666): Elementor\Modules\Library\Documents\Library_Document->get_initial_config()
#11 /wp-content/plugins/elementor/includes/base/controls-stack.php(1019): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_initial_config()
#12 /wp-content/plugins/elementor/core/editor/editor.php(527): Elementor\Controls_Stack->get_config()
#13 /wp-includes/class-wp-hook.php(308): Elementor\Core\Editor\Editor->enqueue_scripts()
#14 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#15 /wp-includes/plugin.php(517): WP_Hook->do_action()
#16 /wp-includes/script-loader.php(2180): do_action() #17 /home/outcubec/dev.out-cube.com/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#18 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#19 /wp-includes/plugin.php(517): WP_Hook->do_action()
#20 /wp-includes/general-template.php(3043): do_action()
#21 /plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head()
#22 /wp-content/plugins/elementor/core/editor/editor.php(322): include(‘…’)
#23 /wp-content/plugins/elementor/core/editor/editor.php(163): Elementor\Core\Editor\Editor->print_editor_template()
#24 /wp-includes/class-wp-hook.php(308): Elementor\Core\Editor\Editor->init()
#25 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#26 /wp-includes/plugin.php(517): WP_Hook->do_action()
#27 /wp-admin/admin.php(419): do_action()
#28 /wp-admin/post.php(12): require_once(‘…’)
#29 {main} thrown
Hi @bobkata
I’m glad you were able to find the culprit of this issue and hopefully, it would be resolved soon.
Meanwhile, I checked Github and found that the same error was already reported here: https://github.com/woocommerce/woocommerce/issues/12701
Can you please check the proposed solutions and see if that works?
Let us know how it goes!
Thank you for hint. It goes slowly from WCFM side 🙁
Hi @bobkata
I totally understand that.
Since this is a third-party plugin which we don’t provide support for (please see our Support Policy here), it would be best reaching out to the plugin’s developers for further assistance here.
https://wclovers.com/my-account/
All the best and hopefully, the issue will be fixed soon.
Thanks!