• Resolved florianweber2

    (@florianweber2)


    I’ve configured a new, custom OAuth app in v1.6.4 of this plugin.
    After clicking on “Test Configuration” (“Check if does not require Authorization Header” is checked) and following through the OAuth flow, I get the following error message from your plugin:

    Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /path-to-wordpress/wp-content/plugins/oauth-client/handler/oauth_handler.php:25 Stack trace: #0 /path-to-wordpress/wp-content/plugins/oauth-client/class-mo-oauth-widget.php(308): Mo_OAuth_Hanlder->getAccessToken('https://MYSITE111...', 'authorization_c...', 'SECRET...', 'SECRET...', 'SECRET...', 'https://MYSITE222...') #1 /path-to-wordpress/wp-includes/class-wp-hook.php(286): mo_oauth_login_validate('') #2 /path-to-wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /path-to-wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /path-to-wordpress/wp-settings.php(450): do_action('init') #5 /path-to-wordpress/wp-content/plugins/oauth-client/handler/oauth_handler.php on line 25

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Fatal error: Uncaught Error: Cannot use object of type WP_Error as array’ is closed to new replies.