@adeel Please search before posting a question. This has come up time and time again.
Search “maximum function level 100” and you’ll find the solution.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
FatalErrorException in ClassLoader.php line 314: Maximum function nesting level of '100' reached, aborting!
I tried to update composer but it didn't help. After searching this error on google I found that xdebug.max_nesting_level = 1000 is solving this issue. But i am using wamp on windows so i cannot find xdebug.max_nesting_level in php.ini file.
Any Idea?
@gurpreet
Add
xdebug.max_nesting_level = 500
At the end of php.ini file in apache directory
( C:\wamp\bin\apache\apache2.4.9\bin )
Please or to participate in this conversation.