Answer the question
In order to leave comments, you need to log in
Yii2, what does error code zero mean in pro version?
on the dev version, it seems to work like that, but when I do an init for prod, when I log in, it pops up an error code of zero, as I understand it, this is a default error if there is no function error (... code = 0 ... ). Error text is empty...
// HttpException controller
public function __construct($status, $message = null, $code = 0, \Exception $previous = null)
{
$this->statusCode = $status;
parent::__construct($message, $code, $previous);
}
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