Answer the question
In order to leave comments, you need to log in
When starting a site on nginx, yii kernel errors fall out, what could be the problem?
FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/yii/crmtest/vendor/yiisoft/yii2/helpers/BaseArrayHelper.php on line 123
PHP message: PHP Fatal error: Uncaught exception 'yii\base\InvalidConfigException' with message 'The "id" configuration for the Application is required.' in /var/www/yii/crmtest/vendor/yiisoft/yii2/base/Application.php:219
Stack trace:
#0 /var/www/yii/crmtest/vendor/yiisoft/yii2/base/Application.php(201 ): yii\base\Application->preInit(Array)
#1 /var/www/yii/crmtest/frontend/web/index.php(17): yii\base\Application->__construct(Array)
#2 {main }
thrown in /var/www/yii/crmtest/vendor/yiisoft/yii2/base/Application.php on line 219" while reading response header from upstream, client: 127.0.0.1, server: mysite.test, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php5.6-fpm.sock:", host: "127.0.0.1"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question