You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We encountered an issue when upgrading to Shopware 6.6.9.0. The problem arises with the Twig "use_yield" option in the NotFloran\MjmlBundle\Twig\Node class. When compiling email templates like @ThemeName/email/base.html.twig, the following exception is thrown:
An exception has been thrown during the compilation of a template ("You cannot enable the "use_yield" option of Twig as node "NotFloran\MjmlBundle\Twig\Node" is not marked as ready for it; please make it ready and then flag it with the #[YieldReady] attribute.") in "@Test/email/base.html.twig".
Workaround:
We were able to resolve this issue by manually adding the #[YieldReady] attribute to the NotFloran\MjmlBundle\Twig\Node class.
Could you please review if the NotFloran\MjmlBundle\Twig\Node class is compatible with the "use_yield" option and, if appropriate, mark it with the #[YieldReady] attribute? This issue prevents email templates from being compiled correctly in Shopware 6.6.9.0.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered:
We encountered an issue when upgrading to Shopware 6.6.9.0. The problem arises with the Twig "use_yield" option in the NotFloran\MjmlBundle\Twig\Node class. When compiling email templates like @ThemeName/email/base.html.twig, the following exception is thrown:
An exception has been thrown during the compilation of a template ("You cannot enable the "use_yield" option of Twig as node "NotFloran\MjmlBundle\Twig\Node" is not marked as ready for it; please make it ready and then flag it with the #[YieldReady] attribute.") in "@Test/email/base.html.twig".
Workaround:
We were able to resolve this issue by manually adding the #[YieldReady] attribute to the NotFloran\MjmlBundle\Twig\Node class.
Could you please review if the NotFloran\MjmlBundle\Twig\Node class is compatible with the "use_yield" option and, if appropriate, mark it with the #[YieldReady] attribute? This issue prevents email templates from being compiled correctly in Shopware 6.6.9.0.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: