Closed jenstornell closed 6 years ago
Could you please check if that problem still exists?
Yes, still exists:
[09-Jul-2018 19:26:22 Europe/Berlin] PHP Fatal error: Uncaught Error: Maximum function nesting level of '256' reached, aborting! in starterkit/kirby/src/Cms/Ingredients.php:35
Stack trace:
#0 starterkit/kirby/src/Cms/Ingredients.php(35): is_a(Object(Closure), 'Closure')
#1 starterkit/kirby/src/Cms/App.php(118): Kirby\Cms\Ingredients::bake(Array)
#2 starterkit/kirby/src/Cms/App.php(70): Kirby\Cms\App->bakeRoots(Array)
#3 starterkit/kirby/src/Cms/App.php(258): Kirby\Cms\App->__construct()
#4 starterkit/kirby/src/Cms/Url.php(25): Kirby\Cms\App::instance()
#5 starterkit/kirby/src/Http/Url.php(132): Kirby\Cms\Url::home()
#6 starterkit/kirby/src/Http/Url.php(218): Kirby\Http\Url::makeAbsolute('assets/images/p...')
#7 starterkit/kirby/config/helpers.p in starterkit/kirby/src/Cms/Ingredients.php on line 35
We can't fix that. We have the url option and the url function relies on that one. This will always end in a loop.
Config (modified from the new starterkit)