litespeedtech / lscache-opencart

GNU General Public License v3.0
26 stars 23 forks source link

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

Closed stevenmunro closed 4 years ago

stevenmunro commented 4 years ago

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

wuhua68 commented 4 years ago

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.

stevenmunro commented 4 years ago

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

stevenmunro commented 4 years ago

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