• Resolved nattheman

    (@nattheman)


    We are having a problem with the plugin not being able to connect to the Mailchimp API

    We received an unexpected error: null

    The plugin has been working without any issues for over 5 months now and broke sometime on the 31st December 2015.

    We are running the latest version of wordpress and your plugin on Godaddy managed wordpress.

    I have tried inserting the following code from your KB into the functions.php file with no success.

    define( 'YIKES_MAILCHIMP_NULL_DEBUG', 1 );
    function yikes_mailchimp_disable_ssl_verfiy_host_and_peer( $ch ) {
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    }
    add_action( 'yikes-mailchimp-api-curl-request', 'yikes_mailchimp_disable_ssl_verfiy_host_and_peer' );

    Even with the NULL_DEBUG setting, we don’t appear to be getting a more detailed error.

    Any help would be appreciated.
    Thanks!

    https://www.ads-software.com/plugins/yikes-inc-easy-mailchimp-extender/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi nattheman,

    When you added: define( 'YIKES_MAILCHIMP_NULL_DEBUG', 1 ); and tried again, what was the result?

    You might also want to try toggling on debugging on the settings page and trying again, with debug on. Hopefully that will log some sort of error.

    The YIKES_MAILCHIMP_NULL_DEBUG constant should give us the best response from the API thought.

    Evan

    Thread Starter nattheman

    (@nattheman)

    Hi Evan,

    Thanks for your prompt response.

    Even with the debug defined, it is still only throwing the null error without any detailed information.

    Tested by removing the API key, saving, disabling the plugin and inputting the API key again with no luck.

    I’ve also tried toggling the debug information which also shows the null error within the logs with no additional info.

    I contacted Mailchimp to ensure the IP address of our shared hosting with godaddy wasn’t blocked in which they confirmed there were no issues from there side.

    I’m assuming right now that godaddy shared hosting has for some reason decided to block the MC API, but it’s hard to confirm without a detailed error.

    Thoughts ?

    Thanks,
    Nathan

    I am having the same problem with GoDaddy. API works fine on my local server and other hosts.

    Plugin Author Evan Herman

    (@eherman24)

    What is the error returned when define( 'YIKES_MAILCHIMP_NULL_DEBUG', 1 ); is added to your functions.php file?

    Thread Starter nattheman

    (@nattheman)

    Hi Taraclaeys,

    When did your problem with godaddy start ? was this recent as well ?

    Plugin Author Evan Herman

    (@eherman24)

    If you are still running into the issue mentioned above, feel free to post back here with the returned response after adding:

    define( 'YIKES_MAILCHIMP_NULL_DEBUG', 1 );

    To your functions.php file. Without knowledge of what is being returned I can’t be the best of help.

    Thanks!
    Evan

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘We received an unexpected error: null’ is closed to new replies.