Home Forums Multiple Event Registration Add-on EE3 Multi Event Registration Widget not working

EE3 Multi Event Registration Widget not working

Posted: June 9, 2016 at 10:30 am

Viewing 16 reply threads

Todd Liles

June 9, 2016 at 10:30 am

I tried placing a widget on my sidebar but when I try to enter attendees and go back, the widget is either not showing up or, if it’s showing up, doesn’t list the names.

Site is

Lorenzo Orlando Caum

  • Support Staff

June 9, 2016 at 12:43 pm


I looked at the sidebar for the page and I did not see the widget for the multiple event registration add-on. Could you double-check that it is enabled on your site and then update your support post so we can have another look?


Todd Liles

June 9, 2016 at 3:34 pm


Yes, that’s the very issue I’m having. It sometimes show up, and it sometimes does not.


Todd Liles

June 9, 2016 at 3:35 pm

… and when it shows up, it doesn’t list the names.

Lorenzo Orlando Caum

  • Support Staff

June 10, 2016 at 7:28 am

Okay, lets try these steps.

1) Go to WP-admin –> Appearance –> Widgets and ensure that it is enabled in your sidebar. I do see your screenshot but I’m not sure if you have removed it since then.

2) Share a link to any active event page where I can add an item to the cart

Once we can see the widget, then we’ll inspect it to see if there is some content there but may be invisible if the font text is white since the background is also white in color.


Todd Liles

June 10, 2016 at 3:47 pm

Widget is active. Try this event:


  • Support Staff

June 13, 2016 at 5:18 am

Hi Todd,

So the cart widget should be displayed within the side bar on the home page correct?

Do you have multiple sidebars or just one?

The widget checks your PHP session for events before it displays, its using this code:

if (empty($_SESSION['espresso_session']['events_in_session'])){return;}

If espresso_session has no events_in_session the widget doesn’t do anything and just skips out.

So its possible that something is altering the session and breaking that check.

Are you comfortable editing PHP files and using FTP?

If you are comfortable editing files, I can give you a couple of things to check and see if it makes a difference.

Todd Liles

June 13, 2016 at 9:27 am

Yes, I’m comfortable editing files.


  • Support Staff

June 14, 2016 at 2:52 am

Actually first check if your server has sessions setup correctly, navigate to:

Event Espresso -> System Status.

Look for ‘PHP Sessions’, does it have a path set there and does it say it is writable?

The first step I would take was to check the widget loaded with the above check removed:


Line 25 should have:

if (empty($_SESSION['espresso_session']['events_in_session'])){return;}

Comment that out:

//if (empty($_SESSION['espresso_session']['events_in_session'])){return;}

Then check if the cart loads within the side bar without adding any events to the cart.

Add an event to the cart and confirm it shows within the widget?

You can also add:


Just below the line you just commented out to follow the session along.
(Note that the output will be visible to your users)

Todd Liles

June 14, 2016 at 11:52 am

PHP Sessions is green and writable.

I placed the site in a staging server. When I comment out the line, the widget’s throwing out an error.

Todd Liles

June 14, 2016 at 11:55 am

I also tried placing some orders and the widget’s not showing anything


  • Support Staff

June 15, 2016 at 6:13 am

I spent some time investigating this and it looks like an issue with the [ESPRESSO_CART_LINK] shortcode.

If I add the events using the default link within your event list here:

This one at the bottom of each event –

The events are added to the widget correctly and display as they should.

If I use the ‘Register’ button you have created using the [ESPRESSO_CART_LINK] shortcode the event does not display within the widget –

1-3 was added using the default cart link, 4 was added with the Register button.

The function is pluggable which means we can override the original with a custom version that includes a fix if you would like to test it?

If so place this file –

Within /wp-content/uploads/espresso/

I have created a ticket for this which will be reviewed and tested. If no other issues are found when using it the fix will be included within core.

Todd Liles

June 15, 2016 at 10:04 am

I think the plugin’s working now


Todd Liles

June 15, 2016 at 10:22 am

I just tried it on the main site but it’s not working


  • Support Staff

June 16, 2016 at 5:25 am

If it works on the staging site but not the production site it could be an issue with WPEngines caching. You won’t see it on the staging server as caching is disabled on staging.

Are you logged into the production site when testing?

You may need to contact WPEngine and have them disable caching where ever you want the cart widget to be displayed.

Todd Liles

June 16, 2016 at 8:00 am

I’m on incognito in chrome when testing and I’ve also used firefox. It maybe a caching issue as it has worked when I’m logged in. Will talk to them then get back here. Thanks.


  • Support Staff

June 16, 2016 at 1:39 pm

It does sound likely it’s being cause by caching.

The no name entries within the widget should be fixed with that custom function but if the widget is not showing at all when no logged in but does when logged in its likely caching.

Please keep us updated with how you get on 🙂

Viewing 16 reply threads

The support post ‘EE3 Multi Event Registration Widget not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso