URI is not valid

#1
I'm testing LiteSpeed/LiteMage on a virgin composer-installed 2.3.2 Magento CE instance. No issues with installation.

After composer-installation and enabling of LiteMage in Magento store-config, I am presented with the following exception on the home page:

Exception #0 (Zend\Uri\Exception\InvalidUriException): URI is not valid and cannot be converted into a string

Additional error tracing shows:

Code:
#1 Zend\Http\Request->getUriString() called at [vendor/litespeed/module-litemage/Model/App/FrontController/LitemagePlugin.php:53]
#2 Litespeed\Litemage\Model\App\FrontController\LitemagePlugin->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#0000000016b10d4e0000000065469116#, &Closure#0000000016b10d8f0000000065469116#, &Magento\Framework\App\Request\Http#0000000016b10cb60000000065469116#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#3 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#0000000016b10cb60000000065469116#) called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:69]
#4 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#0000000016b10d4e0000000065469116#, &Closure#0000000016b10d8f0000000065469116#, &Magento\Framework\App\Request\Http#0000000016b10cb60000000065469116#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#5 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#0000000016b10cb60000000065469116#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#6 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#0000000016b10cb60000000065469116#), array(array('storeCookieValid...', 'install', 'configHash'), 'requestPreproces...')) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#7 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#0000000016b10cb60000000065469116#) called at [vendor/magento/framework/App/Http.php:137]
#8 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#9 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#10 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#0000000016b10cc80000000065469116#) called at [index.php:39]
The Server is running Centos7, and also running RabbitMQ which Magento knows about. Note, as I'm just testing I'm running LiteSpeed/LiteMage under trial, but don't imagine that should matter? .htaccess is updated to enable LiteMage.

If the built-in cache is re-enabled in the Magento store config the issue is resolved.

Help! :)
 

Attachments

Last edited by a moderator:

Pong

Administrator
Staff member
#2
Which URL triggers the above? It might be good to create a ticket with tmp root login details and your magento admin login to our developer to take a look.
 

Unique_Eric

Administrator
Staff member
#3
FYI, I tried magento 2.3.2 with demo data+ LiteMage install with "Method 2: Download the LiteMage 2 package directly. " has no URl issue.
 
Top