Skip to content

Fatal crash on WPGraphQL JWT login requests (6070) #4205

@kultzow

Description

@kultzow

Describe the Bug

When attempting to use WPGraphQL JWT Authentication in Next.JS to log in to the site from http://localhost:3000, the plugin generates the following:

Fatal error: Uncaught TypeError: md5(): Argument #1 ($string) must be of type string, int given in /nas/content/live/magicproxi2stg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-axo/services.php:69

Disabling the plugin allows for login authentication to proceed with no other changes.

To Reproduce

From a local Next.JS environment, attempt to authenticate to an installation with the plugin active, via Apollo/JWT/WPGraphQL.

Expected Behavior

GraphQL returns a response while plugin is active

Actual Behavior

GraphQL can not return a response due to server error

Environment

  • WordPress Version - 6.9.4
  • WooCommerce Version - 10.6.1
  • Plugin Version - 3.4.1

Additional Details

System status
<!--If applicable, paste the system status here. Please ensure you redact or remove any identifying information. -->

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions