我開發的電子商務網站在Magento 2.我的時候我加入了從主頁產品錯誤:Zend Framework的錯誤2
的Zend \烏里\異常\ InvalidUriException:URI是無效的,不能將 轉換成一個字符串 /var/www/html/voylite/vendor/zendframework/zend-uri/src/Uri.php:359 堆棧跟蹤:#0
/var/www/html/voylite/vendor /zendframework/zend-http/src/Header/AbstractLocation.php(98): Zend \ Uri \ Uri-> toString()#1
/var/www/html/voylite/vendor/zendframework/zend-ht tp/src/Header/AbstractLocation.php(133): Zend \ Http \ Header \ AbstractLocation-> getUri()#2
/var/www/html/voylite/vendor/zendframework/zend-http/src/PhpEnvironment /Response.php(98): Zend \ Http \ Header \ AbstractLocation-> toString()#3
/var/www/html/voylite/var/generation/Magento/Framework/App/Response/Http/Interceptor。 php(310): Zend \ Http \ PhpEnvironment \ Response-> sendHeaders()#4
/var/www/html/voylite/vendor/zendframework/zend-http/src/PhpEnvironment/Response.php(128): Magento \ Framework \ App \ Response \ Http \ Interceptor-> sendHeaders()#5
/var/www/html/voylite/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(336) : Zend \ Http \ PhpEnvironment \ Response-> send()#6
/var/www/html/voylite/vendor/magento/framework/HTTP/PhpEnvironment/Response.php(44):Magento \ Framework \ App \ Response \ Http \ Interceptor-> send()#7
/var/www/html/voylite/vendor/magento/framework/Interception/Interceptor.php(146):Magento \ Framework \ HTTP \ PhpEnvironment \ Response-> sendResponse()#8
/var/www/html/voylite/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento \ Framework \ App \ Response \ Http \ Interceptor- > ___ callPlugins('sendResponse', Array,Array)#9
/var/www/html/voylite/vendor/magento/framework/App/Http.php(185):012 ()#10
/var/www/html/voylite/vendor/magento/framework/App/Http.php(156): Magento \ Framework \ App \ Http-> handleDeveloperMode(Object(Magento \ Framework \ App \ Bootstrap), Object(Zend \ Uri \ Exception \ InvalidUriException))#11
/var/www/html/voylite/vendor/magento/framework/App /Bootstrap.php(263))對象(Zend \ Uri \ Exception \ InvalidUriException))#12
/var/www/html/voylite/index.php(38): Magento \ Framework \ App \ Bootstrap-> run(Object(Magento \ Framework \ App \ Http)) #13 {main}
但它在幾天前工作。 – user3292506
然後發生了一些變化。 – delboy1978uk
我無法識別出現問題 – user3292506