Posted: 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? |
|
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. |
|
I’ve tried it with the twenty thirteen theme (most recent from wordpress) and still nothing. Looks like its on wordpress’ end…. |
|
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. |
|
That’s what I just did. Found the conflict. Thanks for the help! |
|
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! |
|
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. |
|
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. |
|
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. |
|
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. |
|
Thank you @Dean, I will try and work through this with the theme developer then, I appreciate the information. |
|
No problem, please let us know how it goes. |
|
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! |
|
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. |
|
@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. |
|
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! |
|
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.