Ready to get started?Download WordPress


Constant Contact for WordPress
Plugin Causes Site to Hang (2 posts)

  1. patrickd
    Posted 8 months ago #

    Whenever I view almost any page of the plugin's admin. screen it takes a good five minutes to load and causes the whole site to become unresponsive. Anyone else experience this or have any idea why this might be happening? Thanks.


  2. igritsay
    Posted 7 months ago #

    Have same problem.

    After hours of investigating i found what cause this: plugin connects to api server and get contacts from it piece by piece and link to next portion of contacts. In last iteration api returns next page url same as current one has and code executes an infinite loop.

    i fix it by changing plugin file class.cc.php (modified lines 834-839):

    $next_p = $this->contact_meta_data->next_page;
    $curr_p = '';
    while(!empty($this->contact_meta_data->next_page) && ($next_p != $curr_p)) {
    	$curr_p = $next_p;
    	$_contacts[] = $this->get_contacts($this->contact_meta_data->next_page);
    	$next_p = $this->contact_meta_data->next_page;


You must log in to post.

About this Plugin

About this Topic