After resolving the 404 error, I’m now getting ….
Deprecated: Return type of CCache::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/pub/ub-tool/yii-1.1.19/caching/CCache.php on line 337
Deprecated: Return type of CCache::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/pub/ub-tool/yii-1.1.19/caching/CCache.php on line 348
Deprecated: Return type of CCache::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/pub/ub-tool/yii-1.1.19/caching/CCache.php on line 361
Deprecated: Return type of CCache::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/pub/ub-tool/yii-1.1.19/caching/CCache.php on line 372
Deprecated: Optional parameter $type_id declared before required parameter $strStoreIds is implicitly treated as a required parameter in /var/www/html/pub/ub-tool/protected/models/UBMigrate.php on line 1265
Deprecated: Optional parameter $groupId declared before required parameter $strStoreIds is implicitly treated as a required parameter in /var/www/html/pub/ub-tool/protected/models/UBMigrate.php on line 1280
4 answers
Hi there,
After resolving the 404 error, I’m now getting ….
Deprecated: Return type of CCache::offsetExists($id)
I added more tweak code in our module to clean the PHP warnings you mentioned: http://prntscr.com/uDSq-tPZdUfT
Also, I saw that your Magento instance version 2.4.4 with PHP 8.1.x, but you are installed the old version v3.1.7 of our module: http://prntscr.com/xZ28DelqwtDL
Please consider upgrading to the latest version 3.2.7 of our module to get compatible with Magento CE 2.4.4.
Regards,
Mall.
Hi Mall,
Installed version 3.2.7…. getting same error. See screenshot https://prnt.sc/0VPAXZqI5eOy
Hi there,
Installed version 3.2.7…. getting same error. See screenshot https://prnt.sc/0VPAXZqI5eOy
Yes, that is a PHP 8.1 warning. To solve I added more tweak code in the PHP file at the following path in our module to disable the PHP warnings that you got:
/home/igna/Sites/magento/src/pub/ub-tool/index.php
You can continue with the data migration steps of our module now.
Regards,
Mall.
Hi,
We are also getting the same error when we change our server. Is there any solution for us?
This question is now closed