首页 文章

magento 2中的Zend框架错误

提问于
浏览
-1

我正在开发magento 2的电子商务网站 . 当我从主页添加产品时出错:

Zend \ Uri \ Exception \ 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-http/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 \ PhpEnvironme nt \ 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):Magento \ Framework \ App \ Response \ Http \ Interceptor-> sendResponse()#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):Magento \ Framework \ App \ Http-> catchException(Object(Magento \ Framework \ App \ Bootstrap) ),Object(Zend \ Uri \ Exception \ InvalidUriException))#12 /var/www/html/voylite/index.php(38):Magento \ Framework \ App \ Bootstrap-> run(对象(Magento \ Framework \ App \) Http))#13

1 回答

  • 0

    您设置的URI无效,请修复它 . 如果没有真正看到您的输入,很难提供更多帮助 .

相关问题