Skip to content

Error when setting sync tab DB connection. #920

@f4w-git

Description

@f4w-git

Checklist

  • I have looked into the Readme and the documentation, and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

I have installed the plugin successfully. 5.x to be specific. Trying to set the sync tab and get an error "Database Connection to sync WordPress with for non-social connections. Must begin with con_" Documentation all over Auth0 sites refer to the 4.x version of the plugin(which I installed successfully with sync capabilities. Error is as follows: [22-Oct-2024 18:52:16 UTC] PHP Fatal error: Uncaught Auth0\SDK\Exception\ArgumentException: A value for id must be provided in /home/httpd/wp-content/plugins/wordpress/vendor/auth0/auth0-php/src/Exception/ArgumentException.php:51
Stack trace:
#0 /home/httpd/wp-content/plugins/wordpress/vendor/auth0/auth0-php/src/API/Management/Connections.php(93): Auth0\SDK\Exception\ArgumentException::missing('id')
#1 /home/httpdwp-content/plugins/wordpress/src/Actions/Configuration.php(939): Auth0\SDK\API\Management\Connections->get(NULL)
#2 /home/httpdwp-includes/class-wp-hook.php(326): Auth0\WordPress\Actions\Configuration->onUpdateSync(Array)
#3 /home/httpd/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#4 /home/httpd/wp-includes/formatting.php(5115): apply_filters('sanitize_option...', Array, 'auth0_sync', Array)
#5 /home/httpd/wp-includes/option.php(866): sanitize_option('auth0_sync', Array)
#6 /home/httpd/wp-admin/options.php(344): update_option('auth0_sync', Array)
#7 {main}
thrown in /home/httpd/wp-content/plugins/wordpress/vendor/auth0/auth0-php/src/Exception/ArgumentException.php on line 51

Reproduction

input con_ database connection and get error.

Additional context

No response

wp-auth0 version

5.2.1

WordPress version

6.6.2

PHP version

8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions