Home Forums Events Calendar Add-on [ESPRESSO_CALENDAR] doesn't work with theme 'Travel Time'

[ESPRESSO_CALENDAR] doesn't work with theme 'Travel Time'

Posted: December 13, 2016 at 4:58 pm


December 13, 2016 at 4:58 pm


I’ve installed ‘Travel time’ as my theme. And I use EE3 with calendar extension. Unfortunately, I can use the shortcode [EVENT_ESPRESSO_CATEGORY event_category_id=””], but not [ESPRESSO_CALENDAR]. I have Tabs installed on my single post – only the first one is displayed; clicking on other tabs does not change them when [ESPRESSO_CALENDAR] is active.

Is there a way how to fix this?
It’s okay to use [EVENT_ESPRESSO_CATEGORY] – but is there a way not to show the entries as a list? Because as list I see more then 20 entries on my page, which is quite confusing.

Kind regards.


  • Support Staff

December 14, 2016 at 7:53 am

Hi there,

I had a look at your site and notice the calendar is working for me.

Is there a specific page I need to view to see the problem?

Could you add a screenshot that shows what the problem is?


December 15, 2016 at 11:18 am


thanks for getting back to me.
I’ve installed a new site – though, you couldn’t see the actual site right now. Therefore, I’ve published the new site under:

Please have a look at:
Clicking on the third green button on the left side (‘Jetzt buchen’) you can see, how the tabs ought to be.
And here is a page with the calendar shortcut on it:
Please click ‘Jetzt buchen’ again.

As you can see on the third page, a category-list works as it should do:

Is there a way to fix this?


December 15, 2016 at 11:20 am

And I’ve one more problem:
Booking a tour leads to an exception:

Fatal error: Call to undefined function Maibe_unserialize() in /wp-content/plugins/event-espresso/includes/process-registration/add_attendees_to_db.php on line 217

What does it mean?


  • Support Staff

December 15, 2016 at 11:28 am

So for the calendar short code, does the short code work if it’s placed within the regular content part of the page (not within tabbed content)?

With the fatal error, did the actually say Call to undefined function Maibe_unserialize()?

The reason I ask is because the code on that line should actually be:
$event_meta = maybe_unserialize( $questions->event_meta );

So if your copy of the plugin has this:
$event_meta = Maibe_unserialize( $questions->event_meta );

Then your copy needs to be fixed. If your plugin file correctly uses
maybe_unserialize() then there may be something amiss with your installation of WordPress. This is because maybe_unserialize() has been included in WordPress since version 2.0.


December 15, 2016 at 11:58 am

The calendar shortcut doesn’t work on a tour page at all. Including it leads to vanishing picture gallery in a section below my tabs.

Yes, the function is missing.
Please have a look at my screenshot:


  • Support Staff

December 15, 2016 at 12:04 pm

The screenshot doesn’t show that the function is missing. You should probably open up add_attendees_to_db.php and change line 217 so it reads:

$event_meta = maybe_unserialize( $questions->event_meta );

I can advise contacting the theme author to see if they can investigate why the theme isn’t allowing the short code to parse.


December 15, 2016 at 12:27 pm

Thank you for your advice.

a) I will contact the theme author. It’s a bite strange, isn’t it?
b) I’ve looked up the code at line 217. I’ve found out, that the EE3 code is buggy. At add_attendees_to_db.php at line 217 as well as in attendee_functions.php line 18 it says: $question_groups = Maibe_unserialize where it should be maybe_unserialize.

So, first issue is fixed.
I hope, the theme author knows what he did ๐Ÿ™‚
Thank you once more.


December 15, 2016 at 12:30 pm

Appendix: Found out what went wrong in the code.
Since I am German, I replaced the word ‘May’ with ‘Mai’ in EE with Dreamweaver. Seems that I also translated the attributes beside the months ๐Ÿ˜‰


  • Support Staff

December 15, 2016 at 1:14 pm

You shouldn’t ever need to edit the plugin files to translate text strings. The month names in Event Espresso are wrapped in translation functions and are translation ready.

The support post ‘[ESPRESSO_CALENDAR] doesn't work with theme 'Travel Time'’ 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.

Status: closed

Updated by  Josh 3 years, 9 months ago ago

Topic Tags


This topic is: resolved
Do NOT follow this link or you will be banned from the site!