laravel - php artisan development server crashing -


for php laravel development i'm using build-in webserver of php. start command "php artisan serve" on windows. few months working charm, it's of sudden crashing on pages didn't change recently.

as try load page, error:

enter image description here

it's in dutch, it's general windows crash message. in log file see:

mail_encryption=null.error: exception 'invalidargumentexception' message 'there no commands defined in "view" namespace.' in d:\home-automation\webinterface\vendor\symfony\console\symfony\component\console\application.php:501 stack trace: #0 d:\home-automation\webinterface\vendor\symfony\console\symfony\component\console\application.php(535): symfony\component\console\application->findnamespace('view') #1 d:\home-automation\webinterface\vendor\symfony\console\symfony\component\console\application.php(192): symfony\component\console\application->find('view:clear') #2 d:\home-automation\webinterface\vendor\symfony\console\symfony\component\console\application.php(126): symfony\component\console\application->dorun(object(symfony\component\console\input\argvinput), object(symfony\component\console\output\consoleoutput)) #3 d:\home-automation\webinterface\vendor\laravel\framework\src\illuminate\foundation\console\kernel.php(94): symfony\component\console\application->run(object(symfony\component\console\input\argvinput), object(symfony\component\console\output\consoleoutput)) #4 d:\home-automation\webinterface\artisan(36): illuminate\foundation\console\kernel->handle(object(symfony\component\console\input\argvinput), object(symfony\component\console\output\consoleoutput)) #5 {main}   

i don't mail, don't think "mail_encryption" have it. lines after problem, have no idea causes them or how resolve it.

any ideas?

ok, solved it.

i had error in controller, caused crash if method in controller accessed.

instead of doing like:

foreach ($sensorgroup->sensors $sensor) 

i had:

foreach ($sensor $sensorgroup->sensors) 

i don't know thinking typing that, , neither did php. bit stange crashed whole thing instead of throwing error...


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -