laravel php artisan error
When the following error occurs when running any command of php artisan:
<code><span>[</span>RuntimeException<span>]</span> Error Output: PHP Catchable fatal error: Argument 2 passed to Illuminate<span>\R</span> outing<span>\UrlGenerator</span>::__construct() must be an instance of Illuminate<span>\Http</span><span>\R</span> equest, null given, called in <span>\laravel</span>5<span>\vendor</span><span>\laravel</span><span>\fram</span> ework<span>\src</span><span>\Illuminate</span><span>\Routing</span><span>\RoutingServiceProvider</span>.php on line 62 and defi ned in laravel5<span>\vendor</span><span>\laravel</span><span>\framework</span><span>\src</span><span>\Illuminate</span><span>\Ro</span> uting<span>\UrlGenerator</span>.php on line 102 </code>
It may be because you called the url(”) method in the configuration file in the config directory, just remove the url(”) method That’s it.
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });The above introduces laravel php artisan errors, including laravel content. I hope it will be helpful to friends who are interested in PHP tutorials.