Support » Plugin: Constant Contact for WordPress » [Plugin: Constant Contact for WordPress] Events not showing

  • Hi,

    The CC plugin has stopped showing my events in the sidebar widget. It was working fine up to yesterday and then all the events disappeared from the backend and even when I put them back using the refresh they still do not appear in the events widget which says “There are currently no events” even though there are a dozen active on CC and showing in the CC event back end interface on wordpress. Please help! This is crucial for my business! Thank you

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Zack Katz


    I’m unable to reproduce this issue; please email me your Constant Contact credentials to and I will see what’s going on.

    I am having the same problem. Widget is there, but none of my 5 active events are showing. Sample page with widget:

    Plugin Author Zack Katz


    @livinlindy – I’m afraid I still am not able to reproduce the issue. Please email me your Constant Contact credentials to and I will see what’s going on.

    Same thing for me to,this is the error I receive in the Events page :
    Warning: Invalid argument supplied for foreach() in /xxxxxxxx/wp-content/plugins/constant-contact-api/admin/events.php on line 426

    If you refresh the page the events apear,but after you leave the page they dissapear and the error comes back…

    Any solutions ?

    Plugin Author Zack Katz


    @socoliuc – I am not able to reproduce the issue. Please email me your Constant Contact credentials to and I will see what’s going on.

    You can confirm with Constant Contact that it’s the only way for me to help debug the issue! I wish there were some other way, but there’s not.

    Plugin Author Zack Katz


    @socoliuc – I am able to reproduce the error, but it should either always happen or never happen. The “always happen” option will be fixed in the next release.

    It’d help to have your info so I can reproduce the 1/2 and 1/2 issue you’re having.

    @zack – When using Safari or Chrome on the Mac, sometimes the Events widget is not showing up in the right-hand sidebar of our homepage the first time the page is loaded. Often, the events will appear on the second or third refresh. Events seems to always show under Firefox.

    I’m using 2.4.1 of your plugin and the current version of WordPress.

    I’m going to email you my credentials in advance to help you see if you can reproduce the problem. Our site is

    Constant Contact Support has told me that you are aware of the issue, and I’d like to be kept in the loop for the fix (if it’s not something I can fix or work around.)


    Was this issue resolved for you guys?

    @zack Katz – Can I email you my credentials for you to take a look at what’s going on in my site? I’m having the same issue: I only have 4 active events (and one draft – NO old events at all) in Constant Contact but all I get is “There are currently no events.” in the Constant Contact API widget area of my website.

    I’m designing a website for a client and don’t have the website up live yet but the event widget is not pulling the events. I’m using the most current plugin version. When I first put the widget there it pulled the info but I didn’t like the way it looked so I went in and changed some of the check boxes in the widget. I haven’t done any styling, YET. Is there a know issue with this widget that I can use to try to figure out the problem?

    Thank you

    I had an issue with the events not showing when using the [constantcontactevents] shortcode.
    I tracked the issue down to a serialization problem. The php array of the xml data from Constant Contact was truncated when it was saved to the cc_events transient.
    It looked like some special characters, probably MS word quotes, was causing this issue.

    My problem went away when I added the following code to around line 1120, inside the get_events() class method.

    $event['Description'] = htmlspecialchars( $event['Description'] );

    This is just a quick fix. It would be nice to sanitize the event description to only remove invalid characters.

    Correction: on my dev server with php 5.4 on it, my previous fix worked.
    On a server with php 5.3.3, I had to use the following.

    $event['Description'] = htmlspecialchars( $event['Description'], ENT_IGNORE, 'UTF-8' );

    You will need to fix the event Description in the get_event() and get_events() functions

    I am having the same problem as mentioned above.

    I use the widget on the right hand side of some pages and the shortcode on the Home page. All worked well until today. I get the “There are currently no events.” However, the calendar from constant contact that is placed on a “Calendar” page by way of iFrame tags shows all the events.

    If the fix above does work where can I find the get_event() and get_events() to drop in the fix?

    None of my upcoming events are showing either. I’m using the widget.
    How can these be fixed?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Constant Contact for WordPress] Events not showing’ is closed to new replies.