Export Events link return error when filter bar is used

Home Forums Calendar Products Filter Bar Export Events link return error when filter bar is used

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1326315
    David Sharpe
    Participant

    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.

    #1326324
    David Sharpe
    Participant

    I 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.

    #1327248
    Cliff
    Member

    Hi, 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?

    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.

    #1328352
    David Sharpe
    Participant

    Thanks, 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.

    #1328353
    David Sharpe
    Participant

    This reply is private.

    #1328657
    Cliff
    Member

    Thanks 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:

    Please let me know how this goes for you.

    #1328679
    David Sharpe
    Participant

    I 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.

    #1328690
    Cliff
    Member

    Thanks for trying those things. Please re-share your System Information in a Private Reply.

    #1328694
    David Sharpe
    Participant

    This reply is private.

    #1328696
    David Sharpe
    Participant

    One 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:VCALENDAR

    #1329867
    Cliff
    Member

    Got 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.

    #1330921
    David Sharpe
    Participant

    But 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?

    #1331087
    Cliff
    Member

    If 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.

    #1333780
    Victor
    Keymaster

    Hello 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,
    Victor

    #1473892
    Victor
    Keymaster

    Hi 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

Viewing 15 posts - 1 through 15 (of 16 total)
  • The topic ‘Export Events link return error when filter bar is used’ is closed to new replies.