Support

Home Forums Events Calendar Add-on Calendar disappeared after EE upgrade

Calendar disappeared after EE upgrade

Posted: September 11, 2013 at 7:02 am


devjenifer

September 11, 2013 at 7:02 am

Calendar does not display after upgrading to Espresso 3.1.35 from 3.1.34.1. I have the latest calendar version.

I am using
[ESPRESSO_CALENDAR show_expired=”false”]

In addition to upgrading my EE version I also added about 40 new “ongoing events” but I thought they would not show or have an effect on the calendar without a date.

I have read through several similar threads and tried some of the suggestions, like activate/deactivate plugins, etc.

My site is not live yet, I’m using WordPress in maintenance mode (I can inbox you login if needed)

Any ideas?


Josh

  • Support Staff

September 11, 2013 at 7:58 am

No idea, did the calendar disappear before or after the ongoing events were added?

At the very least we really need to view the calendar page to see what’s going on. Can you send temporary log in credentials via this form so we can take a look?

https://eventespresso.com/send-login-details/


devjenifer

September 11, 2013 at 10:15 am

Also Josh, did the calendar widget change too? I used the widget to display all events in a category (active & ongoing) now it shows active events only?


Josh

  • Support Staff

September 11, 2013 at 10:49 am

The calendar widget has not changed recently.

I can confirm that the calendar is broken due your theme. I installed the theme test drive plugin on the site and the calendar renders as expected when the twentythirteen theme is active.

The JavaScript on the calendar page stops rendering at this error when the custom theme is active:

Uncaught TypeError: Property ‘$’ of object [object Object] is not a function

the error is pointing to this block of code that is in the theme’s head.php file:

   <script type="text/javascript">
var $ = jQuery.noConflict();
$(document).ready(function() {
 	    $('.carousel').carousel({
    interval: 8000
    })
});

 //contact us popover
$(document).ready(function() {
	$('a[rel=tooltip]').tooltip();
    $('a[rel=popover]').popover();
});
      
</script>

It would be best to load this script only when needed instead of on every page of the site. It will also help to use no-conflict wrappers like this:

   <script type="text/javascript">
jQuery(document).ready(function($) {
 	    $('.carousel').carousel({
    interval: 8000
    })
});

 //contact us popover
jQuery(document).ready(function($) {
	$('a[rel=tooltip]').tooltip();
    $('a[rel=popover]').popover();
});
      
</script>

There may be more errors that pop up after this is corrected which can be debugged with a tool like Firebug or the web inspector.


devjenifer

September 11, 2013 at 12:14 pm

Ok thanks Josh. I removed the carousel.js and the calendar reappeared.

Did the update remove upcoming events widget?


Josh

  • Support Staff

September 11, 2013 at 12:28 pm

I can confirm that Event Espresso 3.1.35 still has an upcoming events widget.


devjenifer

September 11, 2013 at 1:08 pm

Has it changed? I was able to list events by category and ongoing events were listed.


Josh

  • Support Staff

September 11, 2013 at 1:58 pm

It hasn’t changed since October of 2012 when we fixed a typo in the Upcoming Events Widget.


devjenifer

September 11, 2013 at 2:10 pm

I’m sorry Josh, maybe I should be a little more specific. Yesterday, before I updated EE I had a widget called Upcoming Events and I was able to sort by category and it listed ongoing events without a date.
Now in my widget dashboard I show one Espresso widget, Event Espresso Calendar widget. Should I see another widget? If so, what is it called? If not, can I list calendar items not in calendar form, and sort by category and list ongoing events with a date yet?


devjenifer

September 11, 2013 at 2:11 pm

list ongoing events without a date?


Josh

  • Support Staff

September 11, 2013 at 2:42 pm

There should be an Upcoming Events widget. You might check to see if there are any custom functions getting loaded up from /wp-content/uploads/espresso/ or elsewhere that are overriding the widget.

The Upcoming Events widget gets loaded from a function in espresso.php where it loads up the widget template file and then registers it as a WP widget. If that’s not happening then you can try downloading a fresh copy of Event Espresso from your account page and re-installing. It may also be a file permissions issue where the /templates/widget.php file is intact but is not being read so the widget does not register correctly.


devjenifer

September 11, 2013 at 3:42 pm

whew! thx. i renamed the uploads/espresso/templates directory and the widget reappeared. i think i will forego any future updates for now.


Josh

  • Support Staff

September 11, 2013 at 3:51 pm

Please consider keeping your software up to date. Each update of Event Espresso contains bug fixes and security enhancements. When you have customizations in /wp-content/uploads/espresso/templates it’s important to keep those files up to date.

The support post ‘Calendar disappeared after EE upgrade’ 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