I am getting a PHP Fatal Error exception when running php artisan make:widget RecentNews, after going through the installation steps as described here.
PHP Fatal error: Maximum function nesting level of '256' reached, aborting! in .../vendor/laravel/framework/src/Illuminate/Container/Container.php on line 698
PHP Fatal error: Maximum function nesting level of '256' reached, aborting! in .../vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php on line 115
Full command output can be found here.
Increasing the value of xdebug.max_nesting_level in the php.ini (to 500, f.e.) did not help. It then told me it reached its maximum function nesting level '500'.
php artisan make:model test runs without any issues.
I am running php 7.0.8-2+deb.sury.org~xenial+1 and using laravel 5.3. The widget pack used (arrilot/laravel-widgets) can be found here.
What am I doing wrong? Or how can I solve this?
This is a known issue in Laravel v5.3 and is fixed in v5.3.1. See this topic for details.