Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1207405
    Pleeco
    Participant

    Hi,

    I am trying to link my mailchimp api key with wordpress. When I enter api key and click “update” – the blank page is shown.

    I tried to add:

    curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false);

    to

    /wp-content/plugins/x-email-mailchimp/email-mailchimp/fuctions/vendor/mcapi/Mailchimp.php

    and it didn’t help.

    Please advise.

    Thank you!

    #1207758
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! A white/blank screen usually means there is a fatal PHP error. Can you please enable WP_DEBUG mode? You can do this by opening wp-config.php and adding
    define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */ For example:

    define('WP_DEBUG', true);
    
    /* That's all, stop editing! Happy blogging. */

    When you revisit the page with the white screen, you should have some error output describing the issue in more detail.

    Please let us know how it goes.

    #1208173
    Pleeco
    Participant

    Hi,

    It displays the following error:

    …./wordpress/wp-content/plugins/x-email-mailchimp/email-mailchimp/functions/vendor/mcapi/Mailchimp.php on line 156

    Line 156:

    $this->ch = curl_init();

    What is the fix for this?

    Thank you.

    #1208179
    Pleeco
    Participant

    sudo apt-get install php5-curl on my server fixed the problem.

    #1208195
    Nico
    Moderator

    Happy to hear that.

    Thanks for sharing us the solution.

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1207405 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>