litespeedtech / lscache-opencart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notice: Undefined index: language /extension/module/lscache.php on line 334

stevenmunro opened this issue · comments

OpenCart 3.0.3.2

Fresh installation, default store.
Installed "lscache-opencart3.0-V1.3.0.ocmod.zip" with default settings.

Along the top of the frontend I see this error.

Notice: Undefined index: language in /data/redacted/domains/redacted.com/public_html/opencart/catalog/controller/extension/module/lscache.php on line 334

and

Notice: Undefined index: language in /data/redacted/domains/redacted.com/public_html/opencart/catalog/controller/extension/module/lscache.php on line 335

Thanks for reporting, I just fixed it, you can try download https://github.com/litespeedtech/lscache-opencart/blob/master/package/lscache-opencart3.0-latest.ocmod.zip and test it again.

Now getting this error;

Warning: Cannot modify header information - headers already sent by (output started at /data/redacted/domains/redacted.com/public_html/opencart/catalog/controller/startup/error.php:34) in /data/redacted/domains/redacted.com/public_html/opencart/system/library/lscache/lscachebase.php on line 228

Scratch that. It was being caused because other errors for something else were also on the page.