From 3e5bf0ed6b2dbba7134ff94cc06f018b98cb7985 Mon Sep 17 00:00:00 2001 From: Lauren Song Date: Wed, 18 May 2022 00:33:11 -0400 Subject: [PATCH] [UPDATE] PHP8 will enforce cache type to use an integer, change Litemage cachetype from string to int. Otherwise Litemage cannot be enabled when using PHP8 --- Model/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Model/Config.php b/Model/Config.php index fc78762..f2c0617 100644 --- a/Model/Config.php +++ b/Model/Config.php @@ -15,9 +15,9 @@ class Config { /** - * Cache types + * Cache types, it requires INT value */ - const LITEMAGE = 'LITEMAGE'; + const LITEMAGE = 168; private const CFGXML_DEFAULTLM = 'litemage' ;