Home Forums WoodMart support forum Fatal error: No Opauth strategies defined in /Opauth.php on line 181

Fatal error: No Opauth strategies defined in /Opauth.php on line 181

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #465599

    radchuk2012
    Participant

    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.
    #465674

    Artem Temos
    Keymaster

    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

    #465991

    radchuk2012
    Participant

    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?

    #466020

    radchuk2012
    Participant

    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”

    #466112

    Artem Temos
    Keymaster

    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 );

    #466162

    radchuk2012
    Participant

    Greetings!
    That helped! Now it works correctly.
    Can you make this a fix in a future version or as a patch?

    #466182

    Artem Temos
    Keymaster

    Yes, we will release a new version with the fix asap.

    #466230

    radchuk2012
    Participant

    Thank you!
    The task is closed.

    #466239

    Artem Temos
    Keymaster

    You are always welcome.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Fatal error: No Opauth strategies defined in /Opauth.php on line 181’ is closed to new replies.