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

  1. patrickd
    Posted 2 years 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. Igor Gritsay
    Posted 2 years 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;

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Constant Contact for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic