- Issue created by @bkline@rksystems.com
- π·πΊRussia Chi
Can you try to increase
xdebug.max_nesting_level
setting? - πΊπΈUnited States bkline@rksystems.com Virginia
@cilifen Thanks, I started to pick
asset library system
and then I sawaggregator.module
and fell into the trap. π@Chi Bumped up the max_nesting_level value to 4096. Same failure.
- π©πͺGermany pascalhakigo
We have the same issue. Does anyone have a better solution than disabling the xdebug extension?
- πΊπΈUnited States nicxvan
I think this might be more widespread than just xdebug. This is happening anywhere I aggregate one of my sites.
The aggregated files are not even being saved. I get the following errors: Note the file does not exit. Turning off aggregation and the site works as expected.
Peast\Syntax\Exception: Unexpected: ( in Peast\Syntax\ParserAbstract->error() (line 305 of /var/www/html/vendor/mck89/peast/lib/Peast/Syntax/ParserAbstract.php).
sites/default/files/js/js_VDVQvWO2J_fUrL-GxARtI4wV8P9SYL0MfFFcP1pmb0U.js?delta=0&include=eJx9UFtuxCAMvBAlZ-hJIgMWaxUwsp30cfqSbNIqu9L-YA_2zDBEFpySLB2K78JZUNVFboZftkA5R_83b4Xahzr9VsM6BVB0BTPPdsOKT7gOOci4SQ6fxlKh0A_e4aEN0WjFXdethJ867aevnJZyUWucrtRE2gtEdMZcAsh0VLcoyrm09Z5GAr1wDUKgliu08UB5nfmUhVSpzQfaq56Wu8N14W9kgvhi5G-8otBwa_aYxKNG6Pi-kV2gPHfq45uP5heXQK26&language=en&scope=footer&theme=custom_theme
- πΊπΈUnited States nicxvan
I am pretty sure this is directly related to this change record.
- πΊπΈUnited States kevinquillen
Possibly one of these?
- πΊπΈUnited States nicxvan
I tried applying the patch in the first issue, that didn't fix it. It's also my front end theme not admin theme.
Also it's almost the opposite of the second issue, cause the files are not being saved.
I'm trying to figure out now where the Peast is called.
- πΊπΈUnited States nicxvan
I just spent about 20 minutes digging into vendor/mck89/peast/lib/Peast/Syntax/Parser.php
It's pretty deep in this section and that code is called so many times hitting error states it's hard to parse if you'll forgive the pun.
- πΊπΈUnited States nicxvan
I just updated to 10.1.1 and it did not fix the issue either.
- πΊπΈUnited States nicxvan
After digging some more Peast is only called in the JS optimizer web/core/lib/Drupal/Core/Asset/JsOptimizer.php
If I debug the $data before it goes to Peast I get a weird ending to the file ```throw new Error("dom-repeat requires a``` I'm not sure if it's just truncating cause it's so long or something else.
If I find the full error:
throw new Error('dom-bind requires a child')I think it might be rendering the instead of interpreting it as a string.
- πΊπΈUnited States nicxvan
If I do a naive str replace for that error and print the data I get far more of what I expect but the same error in the db about the unexpected (
- π·πΊRussia Chi
There is a disclaimer about this on peast project page.
When Xdebug is enabled and Peast is used to scan code that contains deeply nested functions, this fatal error can appear:
PHP Fatal error: Maximum function nesting level of '512' reached, aborting!
- Status changed to Postponed: needs info
about 1 year ago 11:35am 20 August 2023 - π¬π§United Kingdom catch
@nicxvan if this is happening without xdebug enabled, it sounds like you have a js file that is triggering a bug in Peast - can you identify which file is causing the error, and then try running the Peast parser on it in isolation without xdebug (just the couple of lines in JsOptimizer). If that fails, then I'd suggest opening bug report against Peast with the js file attached. A workaround would be to disable minification for that specific file by setting minified: true in the library definition.
If you're somehow getting this with a core or contrib file that works for other installs, then we'll need a bit more info with steps to reproduce here.
- π¬π§United Kingdom catch
@nicxvan actually if you're getting that syntax error, it could be a bug in Peast, but it could also be a real js syntax error, either way π Need to catch Peast exceptions Fixed might fix this for you.
- πΊπΈUnited States nicxvan
@catch, this should be easy enough for me to test, the project has a custom compiled js file for native web components.
It is already minified so I can test setting it to true (side note I think I already tested that, but I will confirm)
I also linted and checked all of the js that gets compiled and didn't find any syntax errors, but there is a fair amount so that's possible as well.
I can take the additional step of trying to minify the individual files to find the culprit.I think this is a great step in diagnostics, but the root issue is that I could minify in 10.0 but not 10.1, I just want to make sure we don't lose track of that bit.
I'll report back once I've performed the above checks.
- π¬π§United Kingdom catch
@nicxvan you might also want to try π Update Peast to 1.15.4 Fixed .
- πΊπΈUnited States nicxvan
Marking it as minified made it work as expected!
I then removed the minified true and changed the build process to not minify, that worked as well.
Next I rolled back both of those changes and manually update peast to 1.15.4
JS would not load. Setting the library to minified the libraries loaded as expected.I'll do some linting but I suspect it's just the minification marking is more critical with PEAST than in the past.
For my particular case I'll just mark the library as minified properly and move on. I'm not sure what changes in the pipeline when that is set, other than it might bypass PEAST.
For completeness, I rolled everything back yet again then applied: #3381097: Need to catch Peast exceptions https://www.drupal.org/project/drupal/issues/3381097 π Need to catch Peast exceptions Fixed
Interestingly, while I got the expection in the logs, (and the page load was SLOW) everything aggregated properly and the site works.
I suspect this is risky cause it can likely not aggregate and fail silently. However in my case where I'm not marking something as minified, and it is minified it probably just reacts the way Drupal did before PEAST. - πΊπΈUnited States nicxvan
BTW the error in the logs with that patch is
Syntax error: Unexpected: (,
When I go to the line and column indicated there isn't anything like, that it's just an async, which the attached issue also mentions, so maybe it's related to that.
This is the section of code that it's erroring on:
async(t,e){return e>0?me.run(t.bind(this),e):~_e.run(t.bind(this))}cancelAsync(t)
- π¬π§United Kingdom catch
I then removed the minified true and changed the build process to not minify, that worked as well.
If your build process is minifiying, you definitely don't want or need Drupal to additionally minify it on top - it's going to do a lot of work for no benefit.
I'm not sure what changes in the pipeline when that is set, other than it might bypass PEAST.
That's the only change apart from additional regexp that removes sourceUrl/sourceMappingUrl.
I suspect this is risky cause it can likely not aggregate and fail silently.
It would aggregate but not minify once that patch is applied.
Peast recently fixed a bug with the async keyword, so it's possible you found another one: https://github.com/mck89/peast/issues/62
Can you make it choke just on
async(t,e){return e>0?me.run(t.bind(this),e):~_e.run(t.bind(this))}cancelAsync(t)
?Moving this back to 'normal' because xdebug shouldn't be enabled on production.
- πΊπΈUnited States nicxvan
Thanks for the correction, I meant it would silently not minify. I'll see if I can test Peast on that line alone next time I work on that project.
I think there's a bit more to the function to grab before testing it.
- πΊπΈUnited States bkline@rksystems.com Virginia
This failure was resolved with the upgrade to D10.1.1 or D10.1.2. I don't know which because we had uninstalled xdebug when we ran into this bug, and only reinstalled xdebug with D10.1.2. This ticket can be closed, unless someone else is still experiencing the failure with the latest release of Drupal.
- πΊπΈUnited States bkline@rksystems.com Virginia
We're on 10.2.3 now, and xdebug is broken again. I don't know that it's the same problem, though, because the errors in the JS console are different.
GET http://ebms.localhost:8081/sites/default/files/js/js_p1j4ni2gn90-X7Lhdu3LzIVHFMfLWWn5ntPOrtwj-Fk.js?scope=footer&delta=0&language=en&theme=ebms&include=eJx9T0ESwyAI_JCJb-hLMoi0caLBEUza3zcmtYceeoFdZlkW5FXpqRWi9aVmiCN-J0MM6yJGXqKUrAMhU2X3MjVo7wUS7VwWQy6JBRFSuTBWUU4GuVB3BdSw0el4aqaZE9lWLnpqwaewGmWODor9dONpoyNdq0OfVaHSrRsewxFbDP77pu_KzEWxapd0_nt4JEHIdDtDufCYcshkO3gDz8153g net::ERR_ABORTED 500 (500 Service unavailable (with message)) ebms.localhost/:1 Refused to execute script from 'http://ebms.localhost:8081/sites/default/files/js/js_p1j4ni2gn90-X7Lhdu3LzIVHFMfLWWn5ntPOrtwj-Fk.js?scope=footer&delta=0&language=en&theme=ebms&include=eJx9T0ESwyAI_JCJb-hLMoi0caLBEUza3zcmtYceeoFdZlkW5FXpqRWi9aVmiCN-J0MM6yJGXqKUrAMhU2X3MjVo7wUS7VwWQy6JBRFSuTBWUU4GuVB3BdSw0el4aqaZE9lWLnpqwaewGmWODor9dONpoyNdq0OfVaHSrRsewxFbDP77pu_KzEWxapd0_nt4JEHIdDtDufCYcshkO3gDz8153g' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- π¦πΉAustria maxilein
We just changed to php8.3 (from 8.1 where we had no problem before) and this error appeared.
Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames in array_keys() (line 138 of core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php). Drupal\Core\Cache\DatabaseCacheTagsChecksum->calculateChecksum() (Line: 123) Drupal\Core\Cache\DatabaseCacheTagsChecksum->isValid() (Line: 151) Drupal\Core\Cache\ApcuBackend->prepareItem() (Line: 94) Drupal\Core\Cache\ApcuBackend->getMultiple() (Line: 143) Drupal\Core\Cache\ChainedFastBackend->getMultiple() (Line: 87) Drupal\Core\Config\CachedStorage->readMultiple() (Line: 165) Drupal\Core\Config\ConfigFactory->doLoadMultiple() (Line: 136) Drupal\Core\Config\ConfigFactory->loadMultiple() (Line: 181) Drupal\Core\Config\Entity\ConfigEntityStorage->doLoadMultiple() (Line: 312) Drupal\Core\Entity\EntityStorageBase->loadMultiple() (Line: 262) Drupal\Core\Entity\EntityStorageBase->load() (Line: 503) Drupal\Core\Entity\EntityBase::load() (Line: 998) field_group_info_groups() (Line: 238) field_group_field_info_max_weight() (Line: 52) Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler::Drupal\hook_event_dispatcher\{closure}() (Line: 388) Drupal\Core\Extension\ModuleHandler->invokeAllWith() (Line: 67) Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->invokeAllWith() (Line: 51) Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->invokeAll() (Line: 395) Drupal\Core\Entity\EntityDisplayBase->getHighestWeight() (Line: 351) Drupal\Core\Entity\EntityDisplayBase->setComponent() (Line: 412) Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->setComponent() (Line: 251) Drupal\views\Entity\Render\EntityFieldRenderer->buildFields() (Line: 143) Drupal\views\Entity\Render\EntityFieldRenderer->render() (Line: 838) Drupal\views\Plugin\views\field\EntityField->getItems() (Line: 1189) Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender() (Line: 238) template_preprocess_views_view_field() call_user_func_array() (Line: 261) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 1790) Drupal\views\Plugin\views\field\FieldPluginBase->theme() (Line: 765) Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 704) Drupal\views\Plugin\views\style\StylePluginBase->renderFields() (Line: 570) Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping() (Line: 458) Drupal\views\Plugin\views\style\StylePluginBase->render() (Line: 2174) Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1548) Drupal\views\ViewExecutable->render() (Line: 131) Drupal\views\Plugin\views\display\Block->execute() (Line: 1645) Drupal\views\ViewExecutable->executeDisplay() (Line: 81) Drupal\views\Element\View::preRenderViewElement() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 85) __TwigTemplate_fcb8899644dbf0aa83fc577c432f8720->block_content() (Line: 171) Twig\Template->displayBlock() (Line: 72) __TwigTemplate_fcb8899644dbf0aa83fc577c432f8720->doDisplay() (Line: 394) Twig\Template->displayWithErrorHandling() (Line: 367) Twig\Template->display() (Line: 379) Twig\Template->render() (Line: 38) Twig\TemplateWrapper->render() (Line: 39) twig_render_template() (Line: 348) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 939) Drupal\views\Plugin\views\field\EntityField->render_item() (Line: 1208) Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender() (Line: 238) template_preprocess_views_view_field() call_user_func_array() (Line: 261) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 1790) Drupal\views\Plugin\views\field\FieldPluginBase->theme() (Line: 765) Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 704) Drupal\views\Plugin\views\style\StylePluginBase->renderFields() (Line: 570) Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping() (Line: 458) Drupal\views\Plugin\views\style\StylePluginBase->render() (Line: 2174) Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1548) Drupal\views\ViewExecutable->render() (Line: 131) Drupal\views\Plugin\views\display\Block->execute() (Line: 1645) Drupal\views\ViewExecutable->executeDisplay() (Line: 81) Drupal\views\Element\View::preRenderViewElement() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 85) __TwigTemplate_fcb8899644dbf0aa83fc577c432f8720->block_content() (Line: 171) Twig\Template->displayBlock() (Line: 72) __TwigTemplate_fcb8899644dbf0aa83fc577c432f8720->doDisplay() (Line: 394) Twig\Template->displayWithErrorHandling() (Line: 367) Twig\Template->display() (Line: 379) Twig\Template->render() (Line: 38) Twig\TemplateWrapper->render() (Line: 39) twig_render_template() (Line: 348) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 939) Drupal\views\Plugin\views\field\EntityField->render_item() (Line: 1208) Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender() (Line: 238) template_preprocess_views_view_field() call_user_func_array() (Line: 261) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 1790) Drupal\views\Plugin\views\field\FieldPluginBase->theme() (Line: 765) Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 704) Drupal\views\Plugin\views\style\StylePluginBase->renderFields() (Line: 570) Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping() (Line: 458) Drupal\views\Plugin\views\style\StylePluginBase->render() (Line: 2174) Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1548) Drupal\views\ViewExecutable->render() (Line: 131) Drupal\views\Plugin\views\display\Block->execute() (Line: 1645) Drupal\views\ViewExecutable->executeDisplay() (Line: 81) Drupal\views\Element\View::preRenderViewElement() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 85) __TwigTemplate_fcb8899644dbf0aa83fc577c432f8720->block_content() (Line: 171) Twig\Template->displayBlock() (Line: 72) __TwigTemplate_fcb8899644dbf0aa83fc577c432f8720->doDisplay() (Line: 394) Twig\Template->displayWithErrorHandling() (Line: 367) Twig\Template->display() (Line: 379) Twig\Template->render() (Line: 38) Twig\TemplateWrapper->render() (Line: 39) twig_render_template() (Line: 348) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 939) Drupal\views\Plugin\views\field\EntityField->render_item() (Line: 1208) Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender() (Line: 238) template_preprocess_views_view_field() call_user_func_array() (Line: 261) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 1790) Drupal\views\Plugin\views\field\FieldPluginBase->theme() (Line: 765) Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 704) Drupal\views\Plugin\views\style\StylePluginBase->renderFields() (Line: 570) Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping() (Line: 458) Drupal\views\Plugin\views\style\StylePluginBase->render() (Line: 2174) Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1548) Drupal\views\ViewExecutable->render() (Line: 131) Drupal\views\Plugin\views\display\Block->execute() (Line: 1645) Drupal\views\ViewExecutable->executeDisplay() (Line: 81) Drupal\views\Element\View::preRenderViewElement() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 85) __TwigTemplate_fcb8899644dbf0aa83fc577c432f8720->block_content() (Line: 171) Twig\Template->displayBlock() (Line: 72) __TwigTemplate_fcb8899644dbf0aa83fc577c432f8720->doDisplay() (Line: 394) Twig\Template->displayWithErrorHandling() (Line: 367) Twig\Template->display() (Line: 379) Twig\Template->render() (Line: 38) Twig\TemplateWrapper->render() (Line: 39) twig_render_template() (Line: 348) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 939) Drupal\views\Plugin\views\field\EntityField->render_item() (Line: 1208) Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender() (Line: 238) template_preprocess_views_view_field() call_user_func_array() (Line: 261) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 1790) Drupal\views\Plugin\views\field\FieldPluginBase->theme() (Line: 765) Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 704) Drupal\views\Plugin\views\style\StylePluginBase->renderFields() (Line: 570) Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping() (Line: 458) Drupal\views\Plugin\views\style\StylePluginBase->render() (Line: 2174) Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1548) Drupal\views\ViewExecutable->render() (Line: 131) Drupal\views\Plugin\views\display\Block->execute() (Line: 1645) Drupal\views\ViewExecutable->executeDisplay() (Line: 81) Drupal\views\Element\View::preRenderViewElement() (Line: 61) Drupal\views\Plugin\Block\ViewsBlock->build() (Line: 171) Drupal\block\BlockViewBuilder::preRender() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 859) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 493) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 577) Drupal\Core\Template\TwigExtension->renderVar() (Line: 2104) __TwigTemplate_268ef97c5bbb84b73d118e8ae07247b6->block_main_content() (Line: 171) Twig\Template->displayBlock() (Line: 995) __TwigTemplate_268ef97c5bbb84b73d118e8ae07247b6->block_page_container() (Line: 171) Twig\Template->displayBlock() (Line: 85) __TwigTemplate_268ef97c5bbb84b73d118e8ae07247b6->doDisplay() (Line: 394) Twig\Template->displayWithErrorHandling() (Line: 367) Twig\Template->display() (Line: 44) __TwigTemplate_e34ccc7159e262ff1a50bae6bc82263e->doDisplay() (Line: 394) Twig\Template->displayWithErrorHandling() (Line: 367) Twig\Template->display() (Line: 379) Twig\Template->render() (Line: 38) Twig\TemplateWrapper->render() (Line: 39) twig_render_template() (Line: 348) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 86) __TwigTemplate_93950ad17825bf4d3052560d4f062abb->doDisplay() (Line: 394) Twig\Template->displayWithErrorHandling() (Line: 367) Twig\Template->display() (Line: 379) Twig\Template->render() (Line: 38) Twig\TemplateWrapper->render() (Line: 39) twig_render_template() (Line: 348) Drupal\Core\Theme\ThemeManager->render() (Line: 480) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 158) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 153) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() call_user_func() (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704) Drupal\Core\DrupalKernel->handle() (Line: 19)
- π¬π§United Kingdom catch
That's not connected to this issue at all - see views and field_group in the backtrace.
- π¦πΉAustria maxilein
Increasing max_nesting_level=512 solved it for me.
(If that does not help maybe your APCU is a limiting factor - but that I am not sure of. I increased that as well. apc.shm_size=256M)