-
Notifications
You must be signed in to change notification settings - Fork 10
Description
We are experiencing this error on our Magento 2 Instance:
There is an error in /var/www/webroot/ROOT/vendor/symfony/console/Command/Command.php at line: 301
Return value of "Litespeed\Litemage\Console\Command\LitemageFlushCats\Interceptor::execute()" must be of the type int, "null" returned.#0 /var/www/webroot/ROOT/vendor/magento/framework/Interception/Interceptor.php(58): Symfony\Component\Console\Command\Command->run()
#1 /var/www/webroot/ROOT/vendor/magento/framework/Interception/Interceptor.php(138): Litespeed\Litemage\Console\Command\LitemageFlushCats\Interceptor->___callParent()
#2 /var/www/webroot/ROOT/vendor/magento/framework/Interception/Interceptor.php(153): Litespeed\Litemage\Console\Command\LitemageFlushCats\Interceptor->Magento\Framework\Interception{closure}()
#3 /var/www/webroot/ROOT/generated/code/Litespeed/Litemage/Console/Command/LitemageFlushCats/Interceptor.php(23): Litespeed\Litemage\Console\Command\LitemageFlushCats\Interceptor->___callPlugins()
#4 /var/www/webroot/ROOT/vendor/symfony/console/Application.php(1040): Litespeed\Litemage\Console\Command\LitemageFlushCats\Interceptor->run()
#5 /var/www/webroot/ROOT/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#6 /var/www/webroot/ROOT/vendor/magento/framework/Console/Cli.php(116): Symfony\Component\Console\Application->doRun()
#7 /var/www/webroot/ROOT/vendor/symfony/console/Application.php(171): Magento\Framework\Console\Cli->doRun()
#8 /var/www/webroot/ROOT/bin/magento(23): Symfony\Component\Console\Application->run()
#9 {main}
None of the commands in the CLI seem to work. Even when we just fix the null error it just returns empty. It does not seem to flush anything done by cli. Also cache:flush in CLI will not flush the litemage cache.