Error: Call to a member function getCode() on null in /var/www/vhosts/alalimbakalim.com/httpdocs/app/code/Litespeed/Litemage/Model/CacheControl.php:326 Stack trace: #0 /var/www/vhosts/alalimbakalim.com/httpdocs/app/code/Litespeed/Litemage/Model/CacheControl.php(242): Litespeed\Litemage\Model\CacheControl->checkCacheVary() #1 /var/www/vhosts/alalimbakalim.com/httpdocs/app/code/Litespeed/Litemage/Model/App/Response/HttpPlugin.php(44): Litespeed\Litemage\Model\CacheControl->setCacheControlHeaders(Object(Magento\Framework\App\Response\Http\Interceptor)) #2 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(121): Litespeed\Litemage\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #3 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #4 /var/www/vhosts/alalimbakalim.com/httpdocs/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #5 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #6 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #7 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #8 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #9 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #10 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #11 /var/www/vhosts/alalimbakalim.com/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #12 /var/www/vhosts/alalimbakalim.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #13 /var/www/vhosts/alalimbakalim.com/httpdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #14 {main}