Hi,
I am running into an issue where Elementor triggers the shortcodes inside a Widget_Shortcode multiple times per site render, leading to woocommerce notifications to be dropped (and apparently the site to rendered twice)
This may have something to do with the Theme builder, since i use a theme from the Elementor Theme Builder.
The shortcode I am using is:
[woocommerce_my_account]
First stacktrace leading to woocommerce_output_all_notices:
Apparently Post_Content->render first calls $content = Plugin::elementor()->frontend->get_builder_content( $post->ID, true ); which will trigger Widget_Shortcode->render and therefore trigger woocommerce_output_all_notices.
Later in Post_Content->render the the_content filter is triggered wich results in reevaluating the shortcode and again trigger woocommerce_output_all_notices.
Hi, I am running into an issue where Elementor triggers the shortcodes inside a Widget_Shortcode multiple times per site render, leading to woocommerce notifications to be dropped (and apparently the site to rendered twice)
This may have something to do with the Theme builder, since i use a theme from the Elementor Theme Builder.
The shortcode I am using is:
First stacktrace leading to
woocommerce_output_all_notices
:Second stacktrace leading to
woocommerce_output_all_notices
:Apparently
Post_Content->render
first calls$content = Plugin::elementor()->frontend->get_builder_content( $post->ID, true );
which will triggerWidget_Shortcode->render
and therefore triggerwoocommerce_output_all_notices
.Later in
Post_Content->render
thethe_content
filter is triggered wich results in reevaluating the shortcode and again triggerwoocommerce_output_all_notices
.