Support

Home Forums Events Calendar Add-on Calendar stopped showing up after upgrade to WordPress 3.6

Calendar stopped showing up after upgrade to WordPress 3.6

Posted: August 5, 2013 at 2:18 am


Robert Curran

August 5, 2013 at 2:18 am

The calendar on my site http://www.tacdynamics.com has stopped functioning after I upgraded to wordpress version 3.6. I am using the [ESPRESSO_CALENDAR show_expired=”false”] shortcode and have freshly installed event espresso with no luck. Any thoughts?


Dean

August 5, 2013 at 3:37 am

Hi Robert,

You have a lot of jQuery running. The problem is the theme (I assume, it is the usual suspect here) has de-registered WordPress’ version of jQuery (ver 1.8.3) and instead has hardcoded a version from Google. Unfortunately it is loading a very old version of jQuery (1.10.2) as such the calendar wont work. You may also experience issue with other jQuery based features.

You can:

1) Check for a theme update and hope the developer has updated the jQuery

2) Contact the theme developer and ask them to release an update using WordPress’ default jQuery (best) or an updated version of jQuery( ok, but may cause issues in the future). The theme developers site has had some recent activity in July of this year, so you may get a response.

3) Modify the theme yourself to remove the offending code – of course theme updates will over ride this.


Robert Curran

August 5, 2013 at 3:52 am

I’ve tried it with the twenty thirteen theme (most recent from wordpress) and still nothing. Looks like its on wordpress’ end….


Dean

August 5, 2013 at 4:02 am

Well if you have 2013 running and its the same, then its a plugin that is causing the issue. I would do a troubleshoot:

deactivate all plugins except Event espresso and the Calendar.
use a default theme such as 2013
test to see if the issue persists (it shouldnt)
activate each plugin one by one
test to see if the issye persists after each activation
when it breaks you have found the problem plugin.


Robert Curran

August 5, 2013 at 4:08 am

That’s what I just did. Found the conflict. Thanks for the help!


Dean

August 5, 2013 at 4:17 am

Excellent! Can I ask what was causing the issue (plugin name and version) so we can add it to our known problem plugins page.

Thanks!


Robert Curran

August 5, 2013 at 4:24 am

Sure! It was Woothemes’ WooCommerce Plugin. It was updated tonight to be compatible with WordPress 3.6 but I guess there was a conflict. It also disabled my front page slider so I think the problem is between WordPress and WooCommerce.


Dean

August 5, 2013 at 4:52 am

Hmmm ok, well I’m running the latest WooCommerce on an EE site with no issues. They follow WordPress guidelines very closely so that does seem a little odd.


Brandon Weigelt

August 19, 2013 at 8:18 pm

I am also having this issue on my site, http://www.sfbig.dreamhosters.com/?menu=events

I was wondering if anyone could take a look and let me know what might possibly be the issue; I am using the [ESPRESSO_CALENDAR] short code.

Thank you in advance.


Dean

August 20, 2013 at 12:39 am

@brandon,

You have at least two javascript errors coming up and it’s not even getting to the calendar. It looks like the theme is wrapping all the scripts in paragraph tags essentially breaking the scripts.

You could try wrapping your javascript based shortcodes (the calendar and the video player) in [raw][/raw] tags but thats hit and miss, and doesnt resolve the root issue.

Basically the theme has modified the way WordPress formats content, and as such it is affecting scripts. You can examine your theme, generally the functions.php file, for something that looks similar to this http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode and either remove it or comment it out.

If you are not 100% confident with doing this I would refer back to the theme developer.


Brandon Weigelt

August 20, 2013 at 11:29 pm

Thank you @dean, I will try and work through this with the theme developer then, I appreciate the information.


Dean

August 21, 2013 at 2:01 am

No problem, please let us know how it goes.


Gen Gelinas

August 21, 2013 at 8:32 pm

Hello,

I have an issue that presents the same way: the calendar no longer shows on this page http://dev.ptitslutins.org/agenda/

Would someone be able to take a peek and let me know if it looks like the same problem with the outdated jQuery or if something else is amiss?

Thanks!


Gen Gelinas

August 21, 2013 at 8:39 pm

I should have mentioned that I did disable all plugins except for the latest Espressos (Event, Calendar and Recurring) and the Calendar didn’t show, neither with this theme or with Twenty Twelve and Twenty Thirteen. Now the site is all up with what I hope to keep.


Dean

August 21, 2013 at 11:31 pm

@Gwn. I don’t think this is an out of date javascript issue, but an issue with the encoding. The phrase S’inscrire maintenant is used somewhere and the javascript is picking it up, but due to the apostrophe it is breaking the javascript.

Can you advise where this phrase is being used? (possibly in the calendar settings?)

A short term fix would be to rephrase it so it doesn’t contain the apostrophe, but it would be great to know where this is being used so we can change how it deals with them.


Gen Gelinas

August 22, 2013 at 11:07 am

For some reason, the old translation string for the previous version of the plugin WPML was stuck there even though the tool to find the translatable strings didn’t find it on line 627 of espresso-calendar.php [code]event.regButtonText = ‘<?php _e(‘Register Now’, ‘event_espresso’); ?>’;[/code]. I replaced “Register Now” by “Inscription” and the calendar is now visible.

Oddly enough, I had searched the DB via PHP My Admin and could not find S’inscrire maintenant anywhere… Mystery!


Dean

August 22, 2013 at 11:43 pm

Huh, that is strange. Oh well, at least you have it working now.

The support post ‘Calendar stopped showing up after upgrade to WordPress 3.6’ 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