Home › Forums › WoodMart support forum › Critical PHP error in Opauth.php when social login is disabled but URL is access

Critical PHP error in Opauth.php when social login is disabled but URL is access

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #718512

    dbk
    Participant

    Hi Woodmart team,

    I’m getting a recurring critical PHP error related to the Opauth library bundled with Woodmart Core, even though social login is disabled in Theme Settings.

    **Error message:**

    Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given
    in /wp-content/plugins/woodmart-core/vendor/opauth/opauth/lib/Opauth/Opauth.php:107

    **How to reproduce:**

    1. Have social login (Facebook/Google) disabled in Woodmart Theme Settings (App ID and App Secret fields empty)
    2. Access the URL directly: https://yoursite.com/my-account/?social_auth=facebook
    3. WordPress throws a critical error and the page breaks

    **Environment:**

    – WordPress: 6.9.4
    – WooCommerce: 10.7.0
    – Woodmart theme: 8.4.1
    – PHP: 8.3
    – Hosting: Hostinger

    Thanks for looking into this!

    #718525

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hello,

    Thank you for the report. We will fix this in our next theme update.

    Kind Regards

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