[SOLVED]: Maximum function nesting level reached error in Drupal 8

For a Drupal 8 set up locally, I am getting an error "Maximum function nesting level reached error". In order to remove the error we can use the below codes.

If you are using xdebug extension You can do this ini_set('xdebug.max_nesting_level', 200) inside the settings.php

Or we can add the xdebug.max_nesting_level to 200 in php.ini and the problem seems to be resolved for me

If you believe you need any further assistance, please feel free to contact us via mail on [email protected]