Tagged: church demo, event countdown, the events calendar
-
AuthorPosts
-
April 19, 2019 at 11:51 pm #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, 7 months ago by garyvot. Reason: Edited for clarity and new information
April 20, 2019 at 12:01 am #1092788Okay, 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
April 21, 2019 at 3:48 pm #1093050The 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
April 23, 2019 at 1:57 am #1093461Hi,
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,
IsmaelApril 23, 2019 at 2:14 am #1093466Hi 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, 7 months ago by garyvot.
April 24, 2019 at 2:36 am #1093791Try TEC rollback to 4.8.2 — worked for me
April 24, 2019 at 5:00 am #1093829Hi,
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,
IsmaelApril 24, 2019 at 5:41 am #1093843My 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.
April 24, 2019 at 1:31 pm #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?
April 24, 2019 at 7:31 pm #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
April 26, 2019 at 7:14 am #1094620Hi,
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,
IsmaelApril 26, 2019 at 6:53 pm #1094818Thank 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
April 27, 2019 at 5:23 pm #1094931Kriesi 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.April 29, 2019 at 12:39 pm #1095238Hi,
@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,
IsmaelApril 29, 2019 at 9:06 pm #1095489Thank 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
May 1, 2019 at 8:49 am #1096083Hi,
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.
Best regards,
IsmaelMay 1, 2019 at 2:49 pm #1096185Thanks Ismael, glad it is getting sorted.
Gary
May 1, 2019 at 3:17 pm #1096190Looks 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,
May 2, 2019 at 4:55 pm #1096526Hi 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.
May 3, 2019 at 2:06 am #1096680Hi,
Thanks for the info.
We’ll ask our developers to check this thread. Please wait for their response.
Best regards,
IsmaelMay 3, 2019 at 3:48 am #1096688Thanks Ismael. I appreciate it.
Gary
May 3, 2019 at 11:01 am #1096854Hey!
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:
Regards,
GünterMay 3, 2019 at 3:59 pm #1096928Hello 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.
May 4, 2019 at 8:01 am #1097127Hi,
Thanks for reporting this – I found the bug:
Will be in the next update.
Best regards,
GünterMay 4, 2019 at 3:36 pm #1097235thanks, I thought that was my imagination. heheh
May 4, 2019 at 6:05 pm #1097275Thanks, that worked. :)
Best,
Gary
May 5, 2019 at 10:18 am #1097372 -
AuthorPosts
- The topic ‘Help: Event Countdown completely missing!’ is closed to new replies.