magento 2 zendframework中的URI无效错误

时间:2017-04-04 07:45:50

标签: zend-framework magento2

我在添加产品时遇到以下错误。

Zend \ Uri \ Exception \ InvalidUriException:URI无效,无法转换为/home/magento/public_html/voylite/vendor/zendframework/zend-uri/src/Uri.php:359中的字符串堆栈跟踪: #0 /home/magento/public_html/voylite/vendor/zendframework/zend-http/src/Header/AbstractLocation.php(98):Zend \ Uri \ Uri-> toString()#1 / home / magento / public_html / voylite / vendor / zendframework / zend-http / src / Header / AbstractLocation.php(133):Zend \ Http \ Header \ AbstractLocation-> getUri()#2 / home / magento / public_html / voylite / vendor / zendframework / zend -http / src / PhpEnvironment / Response.php(98):Zend \ Http \ Header \ AbstractLocation-> toString()#3 / home / magento / public_html / voylite / var / generation / Magento / Framework / App / Response / Http / Interceptor.php(310):Zend \ Http \ PhpEnvironment \ Response-> sendHeaders()#4 /home/magento/public_html/voylite/vendor/zendframework/zend-http/src/PhpEnvironment/Response.php(128 ):Magento \ Framework \ App \ Response \ Http \ Interceptor-> sendHeaders()#5 / home / magento / public_html / voy lite / var / generation / Magento / Framework / App / Response / Http / Interceptor.php(336):Zend \ Http \ PhpEnvironment \ Response-> send()#6 / home / magento / public_html / voylite / vendor / magento /framework/HTTP/PhpEnvironment/Response.php(44):Magento \ Framework \ App \ Response \ Http \ Interceptor-> send()#7 / home / magento / public_html / voylite / vendor / magento / framework / Interception / Interceptor.php(146):Magento \ Framework \ HTTP \ PhpEnvironment \ Response-> sendResponse()#8 /home/magento/public_html/voylite/var/generation/Magento/Framework/App/Response/Http/Interceptor.php (117):Magento \ Framework \ App \ Response \ Http \ Interceptor-> ___ callPlugins('sendResponse',Array,Array)#9 /home/magento/public_html/voylite/vendor/magento/framework/App/Http.php (185):Magento \ Framework \ App \ Response \ Http \ Interceptor-> sendResponse()#10 /home/magento/public_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 /home/magento/public_html/voylite/vendor/magento/framework/App/Bootstrap.php(263):Magento \ Framework \ App \ Http-> catchException(Object(Magento \ Framework \ App \ Bootstrap) ),Object(Zend \ Uri \ Exception \ InvalidUriException))#12 /home/magento/public_html/voylite/index.php(39):Magento \ Framework \ App \ Bootstrap-> run(Object(Magento \ Framework \ App) \ Http))#13 {main}

请帮帮我

0 个答案:

没有答案