Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

woocommerce-blocks 9.7.1 crashed site with a Fatal error #8619

Closed
aikar-sonera opened this issue Mar 3, 2023 · 12 comments
Closed

woocommerce-blocks 9.7.1 crashed site with a Fatal error #8619

aikar-sonera opened this issue Mar 3, 2023 · 12 comments
Labels
priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue/PR concerns a confirmed bug.

Comments

@aikar-sonera
Copy link

Hi

woocommerce-blocks where automaticaly updated to 9.7.1 in my website and it crashed the site:

Fatal error: Uncaught Error: Class 'WP_HTML_Tag_Processor' not found in /var/www/clients/client1/web217/web/wp-content/plugins/woo-gutenberg-products-block/src/Interactivity/woo-directives.php:112 Stack trace: #0 /var/www/clients/client1/web217/web/wp-includes/class-wp-hook.php(310): woo_process_directives_in_block() #12058 /var/www/clients/client1/web217/web/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /var/www/clients/client1/web217/web/wp-includes/class-wp-block.php(291): apply_filters() #3 /var/www/clients/client1/web217/web/wp-includes/blocks.php(1051): WP_Block->render() #4 /var/www/clients/client1/web217/web/wp-includes/blocks.php(1089): render_block() #5 /var/www/clients/client1/web217/web/wp-includes/class-wp-hook.php(308): do_blocks() #6 /var/www/clients/client1/web217/web/wp-includes/plugin.php(205): WP_Hook->apply_filters() #7 /var/www/clients/client1/web217/web/wp-includes/post-template.php(255): apply_filters() #8 /var/www/clients/client1/web217/web/wp-content/themes/Avada/page.php(24): the_content() in /var/www/clients/client1/web217/web/wp-content/plugins/woo-gutenberg-products-block/src/Interactivity/woo-directives.php on line 112

I had to deactivate gutenberg blocks for the moment, could you please check these lines in your code? Kind regards

@aikar-sonera aikar-sonera added the type: bug The issue/PR concerns a confirmed bug. label Mar 3, 2023
@AdamiPL
Copy link

AdamiPL commented Mar 3, 2023

same problem on my all WooCommerce sites

@Marc-pi
Copy link

Marc-pi commented Mar 3, 2023

yep, confirmed also
i've rolled back to 9.7.0

@ahegyes
Copy link

ahegyes commented Mar 3, 2023

Same problem. Rolling back to 9.7.0 fixes it.

@nielslange
Copy link
Member

Thanks for reporting this! We're already looking into this and working on a fix.

@nielslange nielslange added the priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. label Mar 3, 2023
@Marc-pi
Copy link

Marc-pi commented Mar 3, 2023

thx @nielslange ;-)

@zdenys
Copy link

zdenys commented Mar 3, 2023

41196668-hc

@Marc-pi
Copy link

Marc-pi commented Mar 3, 2023

upgrade to 9.7.2 went smoothly

@Marc-pi
Copy link

Marc-pi commented Mar 3, 2023

@nielslange
what was finaly the culprit about this upgrade bug ?

@aikar-sonera
Copy link
Author

No problem after upgrade to 9.7.2. Thanks for the fast response.

@nielslange
Copy link
Member

@nielslange what was finaly the culprit about this upgrade bug ?

@Marc-pi When creating the 9.7.1 patch release, some PRs that had been merged into trunk slipped into the release/9.7.1 branch. This caused the fatal error under certain conditions.

@Marc-pi
Copy link

Marc-pi commented Mar 4, 2023

@nielslange silly, i was looking at trunk

The issue could be reproduced in WordPress sites which didn’t have Gutenberg enabled.

i guess we can close this issue now
keep it up

@nielslange
Copy link
Member

Closing this issue as it had been resolved with the WooCommerce Blocks 9.7.2 patch release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

No branches or pull requests

6 participants