An error is reported when routing and web middleware are added. It’s normal if you don’t add it
After adding web middleware
Please give me the reason, thank you!
An error is reported when routing and web middleware are added. It’s normal if you don’t add it
After adding web middleware
Please give me the reason, thank you!
This is not an error reported by Laravel, it should be an error reported by xdebug.
Just modify the configuration in php.ini to xdebug.max_nesting_level=512. Just give a large number and no error will be reported.