Fatal error: Uncaught exception 'Zend\Uri\Exception\InvalidUriException' with message 'URI is not valid and cannot be converted into a string' in /var/www/vhosts/shomalevarzeshi.com/httpdocs/kernel/library/Zend/Uri/Uri.php:338 Stack trace: #0 /var/www/vhosts/shomalevarzeshi.com/httpdocs/kernel/library/Zend/Http/Header/AbstractLocation.php(99): Zend\Uri\Uri->toString() #1 /var/www/vhosts/shomalevarzeshi.com/httpdocs/kernel/library/Zend/Http/Header/AbstractLocation.php(134): Zend\Http\Header\AbstractLocation->getUri() #2 /var/www/vhosts/shomalevarzeshi.com/httpdocs/kernel/library/Zend/Mvc/ResponseSender/AbstractResponseSender.php(35): Zend\Http\Header\AbstractLocation->toString() #3 /var/www/vhosts/shomalevarzeshi.com/httpdocs/kernel/library/Zend/Mvc/ResponseSender/PhpEnvironmentResponseSender.php(48): Zend\Mvc\ResponseSender\AbstractResponseSender->sendHeaders(Object(Zend\Mvc\ResponseSender\SendResponseEvent)) #4 [internal function]: Zend\Mvc\ResponseSender\PhpEnvironmentResponseSender->__invoke(Object(Zend\Mvc\ResponseSen in /var/www/vhosts/shomalevarzeshi.com/httpdocs/kernel/library/Zend/Uri/Uri.php on line 338