Fatal error: No Opauth strategies defined in /Opauth.php on line 181
-
Greetings!
– Authorization with google stopped working after one of the latest updates to the theme and woodmart core – presumably in 7.2.2
– Fatal error: No Opauth strategies defined in /web/sites/zyabkin.ua/wp-content/plugins/woodmart-core/vendor/opauth/opauth/lib/Opauth/Opauth.php on line 181
На сайті виникла критична помилка.
Attachments:
You must be
logged in to view attached files.
Hello,
Please, update the theme to the latest version 7.2.3. Also, update the WoodMart core plugin too. We have fixed this bug already.
Kind Regards
Greetings!
When is the general release of the update available automatically to 7.2.3 through the built-in WordPress update utility by clicking the update button?
I updated the theme version to 7.2.3 and Woodmart core – the crash remained.
“2023-05-10T16:42:08+00:00 CRITICAL No Opauth strategies defined у /web/sites/zyabkin.ua/wp-content/plugins/woodmart-core/vendor/opauth/opauth/lib/Opauth/Opauth.php доступно 181”
Try to edit the file woodmart-core/inc/auth.php
and replace this line
$opauth = new Opauth( $this->get_config( $response['auth']['provider'] ), false );
with this one
$opauth = new Opauth( $this->get_config( strtolower( $response['auth']['provider'] ) ), false );
Greetings!
That helped! Now it works correctly.
Can you make this a fix in a future version or as a patch?
Yes, we will release a new version with the fix asap.
Thank you!
The task is closed.
The topic ‘Fatal error: No Opauth strategies defined in /Opauth.php on line 181’ is closed to new replies.