You’re right that that seems like an Xdebug issue. Can you describe in a little more detail what you’ve already tried?
According to this StackOverflow answer, you’ll need to:
Increase the value of xdebug.max_nesting_level
in your php.ini
– https://stackoverflow.com/a/10512188
For Local, I think you’ll need to edit the file at sitename/conf/php/php.ini.hbs
and add a line like this to the [xdebug]
section:
xdebub.max_nesting_level=512
After saving the file, stop the site and restart it so that Local can compile that change.
You might need to go higher than 512, but remember that this is basically just a bandaid solution. The fact that the Events Manager has over 256 levels of nested function calls seems odd to me, but on the other hand, I guess that could happen with some complex queries that have lots of WordPress hooks involved.