Uncaught error – Must supply a valid HTTP Basic Authorization header
-
When going through the connection process, after entering the client ID and client secret I am prompted for my Campaign Monitor credentials again. Then, upon returning to the WordPress admin, the page shows an uncaught error:
Uncaught Error: Cannot use object of type stdClass as array in /path/to/wp-content/mu-plugins/campaign-monitor-for-woocommerce/views/admin/connect.php on line 110 require_once() wp-content/mu-plugins/campaign-monitor-for-woocommerce/core/Helper.php:133 renderer() wp-content/mu-plugins/campaign-monitor-for-woocommerce/core/App.php:582 register_settings_page() wp-includes/class-wp-hook.php:287 apply_filters() wp-includes/class-wp-hook.php:311 do_action() wp-includes/plugin.php:478 do_action() wp-admin/admin.php:254
I am using the latest version of the plugin.
Adding some debugging code to the location flagged in the error, I found that the object being returned is:
stdClass Object ( [Code] => 50 [Message] => Must supply a valid HTTP Basic Authorization header )
What can cause there not to be a valid authorisation header, and how can I fix it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Uncaught error – Must supply a valid HTTP Basic Authorization header’ is closed to new replies.