Maximum function nesting level of '256' reached

Created on 9 August 2022, over 2 years ago
Updated 23 April 2025, 4 days ago

I attempted to install multiple modules in the Message stack and it took my website down. I cannot access any pages front or backend. I cannot clear cache or uninstall any modules via drush. I am able to see the watchdog log via drush, and this is the error I'm seeing:

Error: Maximum function nesting level of '256' reached, aborting! in Drupal\key\KeyConfigOverrides->getCacheSuffix() (line 114 of C:\wamp64\www\list\modules\contrib\key\src\KeyConfigOverrides.php

The research I've found related to this error message suggests some kind of endless loop is happening.

🐛 Bug report
Status

Closed: works as designed

Version

1.15

Component

Code

Created by

🇺🇸United States arlingtonvoicellc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India vipin.mittal18 Greater Noida

    Hello Zack,

    I'm not sure if any fixes are required on the module's end. Increasing the xdebug.max_nesting_level in php.ini to a higher value can help to investigate further, but this is just a temporary workaround.

    Your issue might be resolved by switching PHP versions, as this could have cleared the opcode cache (like OPCache), which may fix issues caused by stale or corrupted cached data.

Production build 0.71.5 2024