SocialLogin module compile error
Hi,
I've updated to Magento ver. 2.4.4 and Pearl 101.11.1.
When I run;
bin/magento setup:di:compile
I get the error;
1/9 [==>----------------] 11% < 1 sec 133.0 MiBPHP Fatal error: Declaration of WeltPixel\SocialLogin\lib\Google\Model::offsetExists(WeltPixel\SocialLogin\lib\Google\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /mysitepath/app/code/WeltPixel/SocialLogin/lib/Google/Model.php on line 251
I can log into the Magento admin and access the frontend, but not compile via SSH.
Thanks
Andrew
-
Official comment
You need to add the patch from the zip folder
Comment actions -
Got the same after upgrading the theme to V1.11.7
Fatal error: Declaration of WeltPixel\SocialLogin\lib\Google\Model::offsetExists(WeltPixel\SocialLogin\lib\Google\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /magento/public_html/app/code/WeltPixel/SocialLogin/lib/Google/Model.php on line 251
Unfortunately, the patch included with theme files includes just one file for the SocialLogin module:
\Patches\Magento 2.4.4\app\code\WeltPixel\SocialLogin\view\frontend\web\js\slreferer.js
and applying it doesn't help at all.
Is there any other patch that is missing from this theme version that may sort this issue out?
Magento 2.4.4
Thank you.
-
Hi,
I've updated to Magento ver. 2.4.5-p1 and Pearl Theme for Magento 2 Open Source v1.11.11 (Nov 23, 2022) Professional Pack
When I run:bin/magento setup:di:compile
I get the error:
Fatal error: Declaration of WeltPixel\SocialLogin\lib\Google\Model::offsetExists(WeltPixel\SocialLogin\lib\Google\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /usr/www/users/xxx/yyy/app/code/WeltPixel/SocialLogin/lib/Google/Model.php on line 251 -
Hi,
We have updated to Magento ver. 2.4.4-p8 and Pearl Theme for Magento 2 Open Source v1.11.1
We are getting this error during di:compile
11% < 1 sec 135.0 MiBPHP Fatal error: During inheritance of ArrayAccess: Uncaught Exception: Deprecated Functionality: Return type of WeltPixel\SocialLogin\lib\Google\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /chroot/home/a032be83/33e54993b9.nxcli.net/app/code/WeltPixel/SocialLogin/lib/Google/Model.php on line 252 in /chroot/home/a032be83/33e54993b9.nxcli.net/vendor/magento/framework/App/ErrorHandler.php:61
I have seen patches folder and i cannot find any patch for magento 2.4.4 for this file.
Please sign in to leave a comment.
Comments
9 comments