The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Events are not showing in Plugin sidebar widget! Why?

Highlighted
Frequent Visitor

Events are not showing in Plugin sidebar widget! Why?

The Constant Contact API plugin has stopped showing my events in the sidebar widget, even though I have  active events in my CC account.  Previously, the plugin was working fine.

 

When I go to the Events tab, I have an error:

 

"Warning: Invalid argument supplied for foreach() in /home/content/15/2713815/html/beta/wp-content/plugins/constant-contact-api/admin/events.php on line 523"

 

The code from that area of the event.php file:

}

$alt = 'alt';
Line 523... foreach($events as $id => $v) {
if($alt == 'alt') { $alt = '';} else { $alt = 'alt'; }
?>

Website:  http://tinyurl.com/q8pr6g4

 

I have no idea what I need to fix it.

Any thoughts?

1 REPLY 1
Highlighted
Moderator

Re: Events are not showing in Plugin sidebar widget! Why?

Hi James,

 

It sounds like you are using the Wordpress plugin found here? Unfortunately, we did not develop this plugin, so we probably won't be able to help much with debugging it. I would suggest visiting the Marketplace page for the developer's contact info.

 

A suggestion that we have made in the past for apps like this is ensuring that you're keeping your username and password up to date in the app. One password change can desync any app and cause issues.

Nick Galbraith
Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured