Community Events Broken after update

Home Forums Calendar Products Events Calendar PRO Community Events Broken after update

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1004259
    johnfheritage
    Participant

    After the most recent update the Community Events add on doesn’t function:
    http://www.grnow.com//events/community/add

    I have adjusted the settings and tried to troubleshoot without resolution.

    #1004507
    Josh
    Participant

    Hey John,

    Thanks for reaching out to us!

    It looks like there is a fatal PHP error on that page that doesn’t really give us too much specific information about what is going on exactly on the page.

    I did a bit of research and was curious if you’re currently using W3 Total Cache plugin? If so, try disabling any minification settings in there and see if that addresses the issue here.

    Let me know if this helps.

    Thanks!

    #1004532
    johnfheritage
    Participant

    I am running Total Cache and I disabled all minification settings. The issue still exists.

    #1005157
    Brook
    Participant

    Howdy johnfheritage,

    Thanks for giving that a go. It looks like you have been googling the issue too. Disabling minification helped one other Total Cache user.

    I was hoping that Total Cache would be the issue, but since it’s not can you do a broader conflict test (click here for guide)? It’s basically a guarantee that this is a conflict of some sort. And running through those steps will help narrow it down, putting us one step closer to a solution.

    Let us know if you have any questions along the way. Cheers!

    – Brook

    #1005559
    johnfheritage
    Participant

    Hello,

    I narrowed my issue to a widget that was in the sidebar. After eliminating each widget one by one it turns out the problem is being caused by the Events Calendar Pro Mini-Calendar widget. It is also ONLY affecting the edit page for the community events.

    So this plays out as when someone attempts to submit an event to our site, they receive this error.

    As this error is caused by a Events Calendar Plugin, what’s your suggestion?

    #1005897
    Josh
    Participant

    Hey John,

    Thanks for running through those steps for us!

    I’m trying to recreate the issue in order to open a bug ticket for this, however I’m having trouble doing so. A couple of quick questions:

    1. Is this the widget that you’re currently using that was causing the conflict https://cloudup.com/crjSecWAh1b
    2. What is your current selection for the Events template under the Event Settings > Display tab within your WordPress dashboard?
    3. Can you try re-adding that widget and then switching to a default WordPress theme to see if the issue persists then?

    Thanks!

    #1007528
    johnfheritage
    Participant

    Responses to your questions are ordered below.

    1.) That is the widget I’m currently using here is a screen shot of my settings. https://cloudup.com/iupgEBI6s2g

    2.) I’ve also included a screen shot of my current settings for the template under “Display” https://cloudup.com/caS7rMeouBO

    3.) It does seem to function on 2015, however, the only modification made to the mini-calendar widget is the addition of this Event Submission button. So if this is a problem I created, is there any insight you can offer on what I should be looking at?

    Thanks again!

    #1007531
    johnfheritage
    Participant

    I wanted to include the code for my widget calendar template, just to see if this helps at all…

    <?php
    /**
     * Events Pro Mini Calendar Widget
     * This is the template for the output of the mini calendar widget. 
     *
     * Override this template in your own theme by creating a file at [your-theme]/tribe-events/widgets/mini-calendar-widget.php
     *
     * @package TribeEventsCalendarPro
     *
     */
    
    if ( !defined('ABSPATH') ) { die('-1'); } ?>
    
    <?php $args = tribe_events_get_mini_calendar_args(); ?>
    
    <!-- Removing this wrapper class will break the claendar javascript, please avoid and extend as needed -->
    
    <div class="tribe-mini-calendar-wrapper">
    	<!-- Grid -->
    	<?php 		
    
    		tribe_show_month( array(
    			'tax_query' => $args['tax_query'],
    			'eventDate' => $args['eventDate'],
    		), 'pro/widgets/mini-calendar/grid' ); ?>
    
    	<!-- List -->
    	<a href="<?php echo esc_url( home_url( '/' ) ); ?>events/community/add">
            <button class="events-community-submit">Submit Event</button>
        </a>
    	<?php
    	if ( 0 < $args['count'] ) {
    		tribe_get_template_part( 'pro/widgets/mini-calendar/list', null, array( 'venue' => true ) );
    	}
    	?>
    
    </div>
    #1007899
    Josh
    Participant

    Hey John,

    Try replacing the above with the following code and see if it resolves the issue for you:

    https://gist.github.com/BeardedGinger/673aea866dccc9984bf5

    Let me know if this helps.

    Thanks!

    #1009201
    johnfheritage
    Participant

    To update everyone on this issue. The latest updates to Events Calendar and Events Calendar PRO have fixed this bug.

    Thank you for fixing the bug… However claiming responsibility for it in the first place could have saved us all a good deal of trouble here.

    Thank you!

    #1009586
    Josh
    Participant

    Hey John,

    Thanks for following up with us and glad that this issue has been resolved.

    This issue wasn’t directly addressed in the latest release. There’s potentially another issue here where what you experienced was a different symptom of a different problem.

    I’ll go ahead and close this thread for now. If you have any further questions please don’t hesitate to open a new thread.

    Thanks!

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Community Events Broken after update’ is closed to new replies.