Fatal error: Uncaught exception 'Zend\Uri\Exception\InvalidUriException' with message 'URI is not valid and cannot be converted into a string' in C:\xampp\htdocs\vendor\zendframework\zend-uri\src\Uri.php:359 Stack trace: #0 C:\xampp\htdocs\vendor\zendframework\zend-http\src\Header\AbstractLocation.php(98): Zend\Uri\Uri->toString() #1 C:\xampp\htdocs\vendor\zendframework\zend-http\src\Header\AbstractLocation.php(133): Zend\Http\Header\AbstractLocation->getUri() #2 C:\xampp\htdocs\vendor\zendframework\zend-mvc\src\ResponseSender\AbstractResponseSender.php(35): Zend\Http\Header\AbstractLocation->toString() #3 C:\xampp\htdocs\vendor\zendframework\zend-mvc\src\ResponseSender\PhpEnvironmentResponseSender.php(29): Zend\Mvc\ResponseSender\AbstractResponseSender->sendHeaders(Object(Zend\Mvc\ResponseSender\SendResponseEvent)) #4 C:\xampp\htdocs\vendor\zendframework\zend-eventmanager\src\EventManager.php(322): Zend\Mvc\ResponseSender\PhpEnvironmentResponseSender->__invoke(Object(Zend\Mvc\ResponseSender\SendResponseEvent)) #5 C:\xamp in C:\xampp\htdocs\vendor\zendframework\zend-uri\src\Uri.php on line 359