I'm upgrading the site to Magento 2.4.4 from 2.4.3-p1 and I get the following error when running 'php bin/magento setup:di:compile'
Deprecated Functionality: Optional parameter $perrow declared before required parameter $nb_item is implicitly treated as a required parameter in /home/<sitename>/<sitedirectory>/app/code/MGS/Mpanel/Helper/Data.php on line 997
Line 997 is: public function getClearClass($perrow = NULL, $nb_item){
Looks like it's a PHP 8.1 error. Is Claue 1.9.20 compatible with 2.4.4 and PHP 8.1? I uploaded the 2.4.4 patch to the server in the appropriate directory.
Yes, I applied the patch (see the last sentence). I'll apply it again using the zip file you sent. Besides, the Data.php file that it's referencing isn't in the 2.4.4 patch.
I'm upgrading the site to Magento 2.4.4 from 2.4.3-p1 and I get the following error when running 'php bin/magento setup:di:compile'
Deprecated Functionality: Optional parameter $perrow declared before required parameter $nb_item is implicitly treated as a required parameter in /home/<sitename>/<sitedirectory>/app/code/MGS/Mpanel/Helper/Data.php on line 997
Line 997 is:
public function getClearClass($perrow = NULL, $nb_item){
Looks like it's a PHP 8.1 error. Is Claue 1.9.20 compatible with 2.4.4 and PHP 8.1? I uploaded the 2.4.4 patch to the server in the appropriate directory.
Hi,
Did you apply our magento 2.4.4 patch? You can apply patch after running the compile command.
Yes, I applied the patch (see the last sentence). I'll apply it again using the zip file you sent. Besides, the Data.php file that it's referencing isn't in the 2.4.4 patch.
Any other ideas?
Thanks for looking into this.
-Mark
I've included screenshots of step by step what I've done. I uploaded the patch files again and again get the same result.
By the way, the 'readme.txt' file is the exact same in both the 'patch_theme_version_1.9.20' and 'patch_theme_version_1.9.19' directories.
Attached I'm showing what versions I'm using of Magento 2.4.4-p1 and PHP 8.1
NOTE: This is on my development server, not the live server. I need to get the development server running with the latest version first.
Sorry for take a lot of time. I have received your feedback. I will try to have feedback to you soon.
I haven't heard anything back and I'm getting the same problem. The Data.php file referenced isn't in the 2.4.4 patch zip file anyway.