Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
    Posts
  • #1092785

    I need some urgent help. I’ve just noticed that the Enfold Event Countdown element (that works with The Events Calendar as seen in the Enfold Church Demo) has somehow gone missing from my site. I don’t mean it isn’t rendering correctly, I mean it is completely missing: The countdown element is still there in the Advanced Layout Editor (it’s embedded in a color section on my home page and a couple of other places on the site), but there is no content where the widget is supposed to be when the page is rendered.

    I’ve disabled all caching and the issue still occurs.

    Edit: I’ve determined that this is related to the most recent 4.9 update to The Events Calendar. See my follow up below…

    Thanks for listening. I can provide credentials for the site upon request.

    Gary

    • This topic was modified 5 years, 8 months ago by garyvot. Reason: Edited for clarity and new information
    #1092788

    Okay, never mind about the user roles and permissions. I created an offline test site with Bitnami and determined that the problem occurred after the most recent Events Calendar 4.9 update.

    https://wordpress.org/support/topic/📣-the-events-calendar-4-9/’

    Any help on how to restore this functionality would be appreciated!

    Gary

    #1093050

    The urgency has diminished, as I have temporarily swapped this content with an ordinary animated countdown, but am still looking forward to an update. Scanning the forum, it appears that this is not the only compatibility issue related to the Events Calendar 4.9 update. Such is the WordPress life. :-)

    Thanks for listening and looking forward to an eventual theme update to address this.

    Best,

    Gary

    #1093461

    Hi,

    Thank you for using Enfold.

    Is there a test page where we can see the issue? Please provide the site url in the private field so that we can check the issue. Did you check the event date and see if it has expired?

    Best regards,
    Ismael

    #1093466

    Hi Ismael, thank you for the reply. The issue affects the Home and Contact pages of our site:

    https://www.cascadehorseshows.com/

    Edit: here is a test page:
    https://www.cascadehorseshows.com/event-countdown-test/

    However, you can’t actually “see” the issue on the front end, since the rendered page seems to contain no markup from the Enfold Event Countdown element. It’s there in the Advanced Layout Editor though.

    If you look at this page and scroll down a bit you will see a color section with an Animated Countdown. This is where the Event Countdown should be. The Animated Countdown is a replacement element I created for the missing element as a temporary work-around.

    For you to see the issue, I have created a temporary WordPress login for you with editor privileges which will allow you to view the Home page in Advanced Layout view. I’ve included that in the private content area.

    If you need greater access than this let me know, but I am quite sure this is not an issue with code on our site. As a test, I installed a completely stock Enfold installation on a local Bitnami WordPress stack and installed the Church Demo from scratch, with no customization or other content. As soon as I updated the Event Calendar plug-in to version 4.9 on this test site, the issue appeared there as well.

    Thanks for the assistance.

    Gary

    • This reply was modified 5 years, 8 months ago by garyvot.
    #1093791

    Try TEC rollback to 4.8.2 — worked for me

    #1093829

    Hi,

    Thanks for the update.

    What is the current version of the theme? We couldn’t check it because the theme options and the themes panel are not accessible, and the theme debug info is disabled. Please make sure that the site is running on version 4.5.6.

    Best regards,
    Ismael

    #1093843

    My site is currently running on 4.5.6. It was running on 4.5.3 with wp on 5.03 when I updated TEC and started having problems. I updated wp to 5.1.1 and Enfold with no change. As mentioned in another post, my event countdown timer (on home page) made the page load hang. The other pages and the calendar itself was working. I disabled timer in Performance options and front page loaded. I then noticed the Upcoming Events were in October 2018. Then I did the tec downgrade.

    #1093962

    @ismael. Thanks. The theme is up to date, currently version 4.5.6. As I said, I can grant you greater privileges if needed, but I think the broken behavior should be clear?

    #1094118

    @compudean: Thanks for confirming the issue and for the suggested work-around. Rolling back The Events Calendar may be a workable short term fix, but it’s not really an option long term I think, for security and compatibility reasons.

    Since Enfold ships with specific TEC integrations, it is really up to Kriesi to ensure forward compatibility with this plug in. I think it’s important to call this to their attention so that we can get a fix for the broken functionality as soon as possible. Requiring users to stay on an older, no longer supported version of TEC is not in their best interest as a theme developer either.

    Best regards,

    Gary

    #1094620

    Hi,

    Thanks for the update.

    Do you mind if we access the file server? We would like to check where the shortcodes or element breaks. We can only do that if we have access to the files. Please post the login details in the private field.

    Best regards,
    Ismael

    #1094818

    Thank you Ismael.

    I just want to point out that this problem is easily duplicated on a freshly installed WP test site with the out of the box Enfold Church Demo:

    https://kriesi.at/themes/enfold-church/

    To recreate the issue all you need to do is apply the latest TEC 4.9 update. You would be able to review the code easily in your own controlled environment.

    If you still believe you need access to my site, I can provide this, but it’s the first time I’ve done this with an outside developer, so I’m new at this. Do you need FTP file access, WP admin access, or both?

    Gary

    #1094931

    Kriesi team,
    The events calendar countdown on my website https://www.rotarynairobieast.org/ dissapeared and never returned despite all the solutions I have tried, Please help.

    #1095238

    Hi,


    @garyvot
    : We will need both so that we can access the dashboard, toggle the settings and edit the files when necessary. Please add it in the private field.


    @technetkenya
    : Please create a new thread or ticket. Put the site url and the login credentials in the private field.

    Best regards,
    Ismael

    #1095489

    Thank you Ismael. I have created the credentials you require and have added them to the private field. Please let me know if this is sufficient.

    Also, you have my permission to temporarily disable Autoptimize caching and/or turn CloudFlare Development Mode on via the installed plug-ins. Please restore the settings when you have concluded your investigation.

    Thanks!

    Gary

    #1096083

    Hi,

    Thanks for the update.

    Our developers found a fix and that fix should be included in the latest patch. For now, please follow the instructions here.

    // https://kriesi.at/support/topic/past-events-are-shown-since-the-events-calendar-update/page/2/#post-1095226

    Best regards,
    Ismael

    #1096185

    Thanks Ismael, glad it is getting sorted.

    Gary

    #1096190

    Looks like I spoke too soon… I updated the Events Countdown shortcode PHP file as suggested, but the fix is not working for me. The event countdown still does not render, even after clearing all caches. Can you have another look?

    Here is a test page to make this more straightforward:

    https://www.cascadehorseshows.com/event-countdown-test/

    Thank you,

    #1096526

    Hi Ismael. Any further word on this?

    FYI, I have determined that the reason the element is “missing” is that the following lines are being executed in the shortcode_handler function:

    if( empty( $next->posts[0] ) || empty( $next->posts[0]->EventStartDate ) || empty( $this->start_date_utc ) ) 
    {
    	return '';
    }

    This suggests that the code is failing to properly fetch the upcoming events in this function:

    /**
     * 
     * @since < 4.0
     * @param int $offset
     * @return WP_Query
     */
    protected function fetch_upcoming( $offset = 0 )
    {
    	$query = array(
    				'paged'				=> false, 
    				'posts_per_page'	=> 1, 
    				'eventDisplay'		=> 'list', 
    				'offset'			=> $offset,
    				'start_date'		=> date( 'Y-m-d' )
    				);
    	$upcoming 	= Tribe__Events__Query::getEvents( $query, true );
    	return $upcoming;
    }

    Can you please have your developers look into this soon?

    Thank you.

    #1096680

    Hi,

    Thanks for the info.

    We’ll ask our developers to check this thread. Please wait for their response.

    Best regards,
    Ismael

    #1096688

    Thanks Ismael. I appreciate it.

    Gary

    #1096854

    Hey!

    Thanks for reporting this.

    Events Calendar has also changed the internal post structure (replaced EventStartDate with event_date). That caused function already_started returning true.

    Here is the updated fix:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_6/events_coutdown/events_countdown.php

    Regards,
    Günter

    #1096928

    Hello Günter, and thank you!

    I have implemented your fix and the content is indeed showing up. However, it is returning the second upcoming event, not the first, at least on our site.

    I have updated my test page so you can see this problem:

    https://www.cascadehorseshows.com/event-countdown-test/

    Can you take another look?

    Thank you again.

    #1097127

    Hi,

    Thanks for reporting this – I found the bug:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_6/events_coutdown/events_countdown.php

    Will be in the next update.

    Best regards,
    Günter

    #1097235

    thanks, I thought that was my imagination. heheh

    #1097275

    Thanks, that worked. :)

    Best,

    Gary

    #1097372

    Hi,

    Gad we could help – and thank you for using Enfold.

    Enjoy the theme and feel free to come back if you need further assistance.

    Best regards,
    Günter

Viewing 27 posts - 1 through 27 (of 27 total)
  • The topic ‘Help: Event Countdown completely missing!’ is closed to new replies.