Adam

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 36 total)
  • Author
    Posts
  • in reply to: Export current year to ics stopped working #1521914
    Adam
    Participant

    Hi Jeremy,

    Many thanks for coming back to me and letting me know about the known bug, I await the fix.

    Best regards,
    Adam.

    in reply to: Export current year to ics stopped working #1520860
    Adam
    Participant

    UPDATE!

    Hi Support Team,

    I’ve been carrying out some further testing, and after reviewing the logs, it transpired that the server was running out of memory. I’ve increased the amount of memory, and the “current year” export is now working again.

    I still am experiencing a fault with the export buttons not showing correctly; they appear when you go to the calendar page, but when you navigate to a different month they disappear. This behaviour is the same with all plugins disabled and running the 2017 theme.

    Best regards,

    Adam.

    Adam
    Participant

    OK, many thanks for looking at this.

    Adam
    Participant

    This reply is private.

    Adam
    Participant

    This reply is private.

    Adam
    Participant

    Hi Cliff,

    Many thanks for getting back to me. I can confirm that Avada is up to date along with the latest patches and plugins and I’m still getting the errors.

    Best regards,
    Adam.

    Adam
    Participant

    This reply is private.

    Adam
    Participant

    Hi,

    Thanks for the reply from both of you.
    I’ve added the following but still get the same result. Some but not all recurring events return a fatal error when clicked.

    /*
    * Adds start time to event titles in Month view
    */
    function tribe_add_start_time_to_event_title ( $post_title, $post_id ) {

    if ( !tribe_is_event($post_id) ) return $post_title;
    // Checks if it is the month view, modify this line to apply to more views
    if ( !tribe_is_month() ) return $post_title;

    $event_start_time = tribe_get_start_time( $post_id );

    if ( !empty( $event_start_time ) ) {
    $post_title = $event_start_time . ‘ – ‘ . $post_title;
    }

    return $post_title;
    }
    add_filter( ‘the_title’, ‘tribe_add_start_time_to_event_title’, 100, 2 );

    I’ve just tried with the theme 2015, and it seems to work with one of the recurring events that causes a problem when using the Avada theme. Avada say that they are compatible with Events Calendar. Any ideas where to go from here?

    Best regards,
    Adam.

    Adam
    Participant

    Hi Jaime,

    Thanks for looking into this. Unfortunately in this case it looks like I’ll have the manually amend the recurring events that have become corrupted. I hope the database I provided helps the software development team come up with a fix to prevent this happening again or on anyone else’s site.

    Taking into account all of the above, I’ll close this support thread.

    Best regards,

    Adam

    Adam
    Participant

    Hi Jaime,

    Yes, there are a lot of events affected by this. I can manually amend some of them as and when event changes come about but it would be a lot of work to manually update them all.

    I’m guessing that the data must be somewhere in the database since the events do display correctly, or are these correctly shown events on the calendar simply events that were populated when the original recurrence rule was set. i.e. not being influenced by this “first Monday” bug because we haven’t gone forward in time enough for new future years events to be auto-generated?

    If the developers are able to extract the correct recurrence rules from my database, does this mean that at some point in the future there will be a bug fix to the backwards compatibility of the recurring events? If so I could manually change the few that are needed to be changed now and hold on for the fix for the rest of the events. But I am worried that if the fix is too far in the future that events may begin to be populated on the first Monday instead of when intended 🙁

    So short version is, yes I can update manually if fix looks a long way off.

    Best regards,

    Adam.

    Adam
    Participant

    This reply is private.

    Adam
    Participant

    Hi Jaime,

    It looks like the first error is caused by code that sets a default start/end time to an event. This is no longer working since depreciated. This code was added with previous technical support. I’ve removed this code from the theme functions.php file.

    It looks like the errors caused by line 192 & 194 in the theme functions.php are caused by code that adds the start time to the events on the month view of the calendar. This code was from previous technical support with Modern Tribe. The start time is actually being added to the events month view and can be viewed on the calendar page http://www.harlowmasonichall.co.uk/hall-calendar/
    I really need this feature, is it possible to advise on what needs changing to bring in line with the current version of The Event Calendar?

    /*
    * START – Adds start time to event titles in Month view
    */
    function tribe_add_start_time_to_event_title ( $post_title, $post_id ) {

    if ( !tribe_is_event($post_id) ) return $post_title;
    // Checks if it is the month view, modify this line to apply to more views
    if ( !tribe_is_month() ) return $post_title;

    $event_start_time = tribe_get_start_time( $post_id );

    if ( !empty( $event_start_time ) ) {
    $post_title = $event_start_time . ‘ – ‘ . $post_title;
    }

    return $post_title;
    }
    add_filter( ‘the_title’, ‘tribe_add_start_time_to_event_title’, 100, 2 );

    /*

    Best regards,
    Adam.

    Adam
    Participant

    This reply is private.

    Adam
    Participant

    Hi Jaime,

    I tried creating a new recurring event, and the issue does not appear to be present on newly created recurring events.

    Then I looked at existing recurring events; this seems like a problem with just the existing recurring events. I then tried just clicking the update button on a previous recurring event. This caused it to update to the 1st Monday of the month as in the incorrect settings in the video I showed you.

    So it looks like somehow the recurring rules for existing events have become corrupted. Even though they are showing correctly in the calendar, the moment they are updated, they then obey the corrupted version of the recurring rule.

    Best regards,

    Adam.

    Adam
    Participant

    Hi Jaime,

    I had tried all of this before raising the support thread.
    Disabled all plugins, ran WordPress theme 2015, removed all custom code from functions.php but still the problem remained.

    Best regards,
    Adam.

Viewing 15 posts - 1 through 15 (of 36 total)