I am using Pattern Lab Node v6.1.0 on Mac, with Node v20.11.1, using a Vanilla Edition.
Expected Behavior
Twig Templates get rendered without any error messages.
Actual Behavior
An PHP Error is thrown:
Undefined array key "data" in pattern_twig/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115 when trying to render 00-meta/_foot.twig
Steps to Reproduce
Create a patternlab with a lot of patterns.
At some point, the number of patterns will exceed the max_post_size of the @basalt/twig-renderer.
I have analyzed the error a bit. It seems the body payload of the 00-meta/_foot.twig template is too large to be handled by the php @basalt/twig-renderer.
I have opened an issue in their repository as well and will try to submit a fix there. knapsack-cloud/twig-renderer#139
If the @basalt/twig-renderer will not accept the fix, is there a way to reduce the body payload in the _foot.twig template?
I am using Pattern Lab Node
v6.1.0onMac, with Nodev20.11.1, using aVanillaEdition.Expected Behavior
Twig Templates get rendered without any error messages.
Actual Behavior
An PHP Error is thrown:
Undefined array key "data" in pattern_twig/node_modules/@basalt/twig-renderer/dist/server--async.php on line 115when trying to render00-meta/_foot.twigSteps to Reproduce
Create a patternlab with a lot of patterns.
At some point, the number of patterns will exceed the max_post_size of the
@basalt/twig-renderer.I have analyzed the error a bit. It seems the body payload of the
00-meta/_foot.twigtemplate is too large to be handled by the php@basalt/twig-renderer.I have opened an issue in their repository as well and will try to submit a fix there. knapsack-cloud/twig-renderer#139
If the
@basalt/twig-rendererwill not accept the fix, is there a way to reduce the body payload in the _foot.twig template?