PHP Notice: Undefined index error in cls.php

#1
I am facing cache issue on my sites admin area. The admin pages are showing cached pages even after disabling cache for admin. The issue not there after Refreshing the page or cleared the browser cache.

While debugging the following errors are shown on debug log:

[07-Jul-2020 22:15:14 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/wp-content/plugins/litespeed-cache/src/css.cls.php on line 135
[07-Jul-2020 22:15:14 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/wp-content/plugins/litespeed-cache/src/css.cls.php on line 138

I don't know whether the Cache issue is coming from this error or not and why this error is coming.

My site is running on AWS EC2 powered by Lightspeed and my site URL is https://cbshop.in

Please help to resolve this issue.
 
Top