Home › Forums › Calendar Products › Filter Bar › Export Events link return error when filter bar is used
- This topic has 16 replies, 3 voices, and was last updated 6 years ago by David Sharpe.
-
AuthorPosts
-
July 26, 2017 at 7:32 am #1326315David SharpeParticipant
When I visit one of the calendars on this site and choose a month in the filter bar, the Export Events link return an error.
Here’s an example. Visit this page, https://www.providencehigh.net/athletics/teams/soccer-boys/, choose August 2017 in the filter Bar and click Find Events.
After the new calendar appears, click the Export Events button. The button returns this URL with a “This site can’t be reached” error. https://www.providencehigh.net/athletics/teams/soccer-boys/?tribe_events_cat=boys%20soccer&tribe-bar-date=2017-08&ical=1&tribe_display=month
The Export Events links seem to work otherwise.
Other pages to test are https://www.providencehigh.net/athletics/teams/football/, https://www.providencehigh.net/athletics/teams/girls-golf/ or any of the team pages under Athletics.
July 26, 2017 at 7:54 am #1326324David SharpeParticipantI may have posted this in the wrong forum. I disabled the Filter Bar and the problem exists if I click ahead to the next month, then Export Events.
July 27, 2017 at 7:56 pm #1327248CliffMemberHi, David. Sorry you’re experiencing this.
This isn’t currently a known issue so I’d suggest following these recommended troubleshooting steps for your own site:
There might be some new updates available. Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?
- Downloads / Version Numbers
- License Keys
- TEC Automatic Updates
- or TEC Manual Updates
- WordPress core updates
Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.
If it is, please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.
Of course, we always recommend restorable database and file backups before modifying anything on your site.
If it doesn’t, please enable WP_DEBUG and WP_DEBUG_LOG (which will create a file on your server at /wp-content/debug.log if there are any WP_DEBUG messages) and share any debug messages you see while trying to replicate this issue and doing other things on your site relevant to this ticket (such as visiting your site’s home page, events page, single-event pages, and anything else you can think to do).
Then, please share your System Information (while in Testing for Conflicts Mode) in a Private Reply. That will give me a lot of extra information to help troubleshoot this.
You might also see if you can spot any console errors at your site. (If needed, you may reference our KB article Using Google Chrome Developer Tools.) Note: I did see multiple console errors at your site, one reporting from our plugin but I’ve seen it before where it’s actually a plugin conflict (i.e. error goes away when conflicting plugin is deactivated). I also saw one regarding Google Maps API Key missing.
Let us know what you find out.
Thanks.
July 31, 2017 at 8:20 am #1328352David SharpeParticipantThanks, Cliff.
So I created I created a brand new site, Twenty Seventeen as the theme. The site is only running freshly downloaded and installed Events Calendar and Events Calendar Pro. I added a Google Maps API key. I exported the events from the original site and imported them into the new site.
I created a new page, http://wordpress-75502-304778.cloudwaysapps.com/shortcode-test/, and added the shortcode [tribe_events category=”football”].
If I select a future month like October or November from the search bar I get a month of events. From that view, clicking Export Events returns this, http://wordpress-75502-304778.cloudwaysapps.com/shortcode-test/?tribe_events_cat=football&tribe-bar-date=2017-10&ical=1&tribe_display=month
The debug log returns this.
[31-Jul-2017 15:04:14 UTC] PHP Deprecated: Non-static method Tribe__Events__Aggregator__Records::prefix_meta() should not be called statically in /home/23750-75502.cloudwaysapps.com/dcbgrkjxrx/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator/Record/Queue_Processor.php on line 146
System information to follow in private reply.
Thanks for your help.
July 31, 2017 at 8:21 am #1328353David SharpeParticipantThis reply is private.
August 1, 2017 at 2:51 am #1328657CliffMemberThanks for your effort and detailed report.
That “Non-static method Tribe__Events__Aggregator__Records::prefix_meta() should not be called statically” error message should get fixed in an upcoming release. I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed, as it’s in the development team’s hands now, but I expect it’ll get done fairly quickly (weeks, not months).
I apologize for this issue and appreciate your understanding and patience.
===
I was not able to reproduce the issue you described with [tribe_events view=”month”], paging to October, and clicking the export button… although I did experience it at the link you shared.
I see you have W3 Total Cache activated. I’d suggest trying one or more of the following:
- deactivate that plugin and then clear your browser cache
- re-save your Permalinks
- set your WordPress timezone
Please let me know how this goes for you.
August 1, 2017 at 3:46 am #1328679David SharpeParticipantI deactivated W3 Total Cache and the problem is still there. W3 Total Cache is not installed on the original site that exhibits this problem.
Re-saved permalinks and the problem is still there.
Set time zone and the problem is still there. Time zone is set on the original site that exhibits this problem.
Cleared cache on Chrome and Firefox and the problem is still there. Safari seems to be the only browser that can export the calendar in this scenario.
August 1, 2017 at 4:32 am #1328690CliffMemberThanks for trying those things. Please re-share your System Information in a Private Reply.
August 1, 2017 at 4:54 am #1328694David SharpeParticipantThis reply is private.
August 1, 2017 at 5:05 am #1328696David SharpeParticipantOne other thing. I imported the ics file I was able to save from Safari into Google calendar and there are no events. Here are the contents.
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//wordpress-75502-304778.cloudwaysapps.com – ECPv4.5.9//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:wordpress-75502-304778.cloudwaysapps.com
X-ORIGINAL-URL:http://wordpress-75502-304778.cloudwaysapps.com
X-WR-CALDESC:Events for wordpress-75502-304778.cloudwaysapps.com
END:VCALENDARAugust 2, 2017 at 9:09 pm #1329867CliffMemberGot it. Thanks for the info, David.
I’ve confirmed the bug as happening when there’s an empty iCal feed, and I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.
I apologize for this issue and appreciate your understanding and patience.
August 4, 2017 at 12:31 pm #1330921David SharpeParticipantBut should the iCal feed be empty when there are events in the calendar? How is this related, if at all, to the original problem of bad links?
August 4, 2017 at 7:27 pm #1331087CliffMemberIf there are events, it should output an .ics download when that button is clicked. Here’s a video of me reproducing your reported issue: https://cl.ly/22082g1T1q42
The empty month events with the button still being available was another bug discovered.
Therefore, this is in Pending Fix status for 2 bugs.
Thanks for reporting this issue; sorry it took me a bit to be able to replicate it.
August 10, 2017 at 3:12 pm #1333780VictorKeymasterHello David!
Just wanted to share with you that a new maintenance release (for the Week of 7 August 2017) is out, including a fix for the “Non-static method Tribe__Events__Aggregator__Records::prefix_meta() should not be called statically” error message.
Find out more about this release → https://theeventscalendar.com/maintenance-release-week-7-august-2017/
Please update the plugins and let us know if the fix works for your site.
Best,
VictorMarch 8, 2018 at 1:22 pm #1473892VictorKeymasterHi David!
Just wanted to share with you that a new maintenance release (for the Week of 5 March 2018) is out, including a fix for the iCal export button not working.
Find out more about this release → https://theeventscalendar.com/maintenance-release-week-5-march-2018/
Please update the plugins and let us know if the fix works for your site.
Best,
Victor -
AuthorPosts
- The topic ‘Export Events link return error when filter bar is used’ is closed to new replies.