Some server MailChimp subscribe not working
-
Hi,
I installed Contact Form 7 MailChimp Extension in my local and demo website.
The contact form subscribe to my lists in MailChimp, Okey its working fine.But I deploy live website (another server). The contact form subscribe not working
I tried to debug in lib/functions.php line 294
This function ->
cf7mce_use_fopen( $url, $info, $method )not working
But funtion ->cf7mce_use_curl( $url, $info, $method );working.function vc_post( $url, $info, $method = 'POST', $adminEmail = false ){// primary function if(ini_get('allow_url_fopen')){// test for allow_url_fopen return cf7mce_use_fopen( $url, $info, $method ); // <- Not working on some server } elseif (in_array('curl',get_loaded_extensions())){// test for cURL return cf7mce_use_curl( $url, $info, $method ); // <- Its working }else{// neither method is available, send mail if( !$adminEmail ){ $adminEmail = get_bloginfo( 'admin_email' ); } return cf7mce_use_wpmail($url,$info,$method,$adminEmail); } }
The topic ‘Some server MailChimp subscribe not working’ is closed to new replies.