• 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)
  • Plugin Author Campaign Monitor

    (@vibhorchhabra)

    Hi doubledesign,

    Sorry to hear of the trouble with this! It looks like there has been a hiccup during the initial connection process, as a first step, the best option would be to delete the plugin completely, reinstall and attempt to reconnect again.

    If you are still seeing issues, would it be possible to create a support case, so we can get your account details and check the logs for your Campaigb Monitor account in detail. You can create a support case here: https://help.campaignmonitor.com/ by clicking Contact Support .

    Thank you!

    Thread Starter doubleedesign

    (@doubleedesign)

    Thank you for the quick reply!

    I had tried clearing out all of the rows in wp_options related to the plugin to get the prompt again, but the issue still happens. As it’s being used on a multisite, I also tried on a different site, no luck. I will create a support case as I have some other questions about our use case that may be able to be answered at the same time. Thank you!

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.