Open diazwatson opened 2 months ago
Same issue here. Is this module compatible with php8.3? @diazwatson did you fix this?
I tested this on my Magento ver. 2.4.7-p3 on PHP 8.3 and I am unable to reproduce this issue. Please feel free to open a support ticket and we will troubleshoot it.
@litespeed-adil please double check at your end that php cli is 8.3.
In our end if ln -sfn /usr/local/lsws/lsphp83/bin/php /usr/bin/php
then php for cli switch to 8.3.10 for magento user.
If ln -sfn /usr/local/lsws/lsphp82/bin/php /usr/bin/php
then php for cli switch to 8.2.22
With php 8.2 no error. With php 8.3 error is there just after you run setup:upgrade And it is definitely incompatibly with php 8.3 in this:
/litespeed/module-litemage/Model/Config.php on line 339
$this->load_conf_field_array(self::CFG_CONTEXTBYPASS, $lm['general']);
$this->load_conf_field_array(self::CFG_IGNORED_BLOCKS, $lm['general']);
$this->load_conf_field_array(self::CFG_IGNORED_TAGS, $lm['general']);
My test env is definitely on 8.3
[magento@magento public_html]$ php -v PHP 8.3.13 (cli) (built: Oct 25 2024 00:00:00) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.13, Copyright (c) Zend Technologies
and no matter what I do:
php bin/magento setup:di:compile php bin/magento deploy:mode:set production php bin/magento setup:upgrade
everything completes successfully on my environment.
For
/litespeed/module-litemage/Model/Config.php on line 339
I will ping our developer to check if the code is compatible with PHP 8.3
After installing this module we and deploy changes we get an error during di compile