Re-synchronize Doesn’t Update Date and Time

Home Forums Calendar Products Event Aggregator Re-synchronize Doesn’t Update Date and Time

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1090379
    Justin
    Participant

    I am using the Facebook Events Importer to import information from Facebook. One event updated there information on the Facebook page. I decided to just use the synchronize button. Problem is it did not synchronize the correct time and date. It did not change the date and time at all even though I know it was changed to earlier.

    So I thought to myself maybe I am just crazy. I then deleted then event from The events Calendar and imported a fresh copy of the event. The Event imported PERFECTLY. Date and time were correct.

    My question is re-synchronize should completely wipe out the old event data and recreate it. It obviously is not doing this. As I said Deleting the event and the importing it again works perfect. I looked through the code pretty thoroughly and it seems that the resyncrhonize functionality is not getting hit at all.

    When I hit the resynchronize button the following is happening.

    The protected function listen is looking to see if the post_id or facebook_resync are empty. Problem is that the facebook_resync is not set as part of the post method for that button.

    I logged the $_POST output before that and did not see facebook_resync anywhere in the post request. So the event actually never gets updated. It looks like currently the only way to fix this is to delete the event and re-add it.

    I don’t have the time currently to look into how to fix this issue I was only able to find the problem.

    The POST ARRAY IS THE FOLLOWING:

    [17-Mar-2016 17:20:00 UTC] Array
    (
    [_wpnonce] => 8af3d80d0c
    [_wp_http_referer] => /wp-admin/post.php?post=9615&action=edit
    [user_ID] => 4
    [action] => editpost
    [originalaction] => editpost
    [post_author] => 4
    [post_type] => tribe_events
    [original_post_status] => publish
    [referredby] => https://www.XXXXXXXXXXXXXX.com/wp-admin/post.php?post=9615&action=edit
    [_wp_original_http_referer] => https://www.XXXXXXXXXXXXXX.com/wp-admin/post.php?post=9615&action=edit
    [post_ID] => 9615
    [meta-box-order-nonce] => 3a62d472cf
    [closedpostboxesnonce] => c7056dd405
    [post_title] => St. Paddy\'s Day Tavern Tour
    [samplepermalinknonce] => a701749afd
    [_acfnonce] => ccde664563
    [_acfchanged] => 0
    [content] => \"COME SEE ALTON FROM THE IRISH PINT OF VIEW\"

    A M S is proud to host our 2st annual St.Paddy\’s Day Tavern Tour ! 11 of Alton\’s best pubs/taverns/bars and restaurants invite you to enjoy live entertainment, food and drink specials on
    TICKET INCLUDES: A decorative piece of St. Patrick\’s Day flair to wear, along with a passport that entitles you to specials, various entertainment and giveaways at each stop. Not to mention the opportunity to win fun prizes. Completed passports can be dropped off at any participating establishment before 10pm on March 17th, 2016.

    1st Place Prize: $100 Gift Certificate to any participating establishment

    2nd Place Prize: Basket of Booze

    Grab a group of friends and join the Social Media Photo Scavenger Hunt. WINNING PRIZE: Pot O\’ Goldschlager #AltonPubCrawls2016
    [wp-preview] =>
    [hidden_post_status] => publish
    [post_status] => publish
    [hidden_post_password] =>
    [hidden_post_visibility] => public
    [visibility] => public
    [post_password] =>
    [mm] => 03
    [jj] => 17
    [aa] => 2016
    [hh] => 11
    [mn] => 56
    [ss] => 44
    [hidden_mm] => 03
    [cur_mm] => 03
    [hidden_jj] => 17
    [cur_jj] => 17
    [hidden_aa] => 2016
    [cur_aa] => 2016
    [hidden_hh] => 11
    [cur_hh] => 12
    [hidden_mn] => 56
    [cur_mn] => 19
    [original_publish] => Update
    [tax_input] => Array
    (
    [post_tag] =>
    [tribe_events_cat] => Array
    (
    [0] => 0
    )

    )

    [newtag] => Array
    (
    [post_tag] =>
    )

    [newtribe_events_cat] => New Event Category Name
    [newtribe_events_cat_parent] => -1
    [_ajax_nonce-add-tribe_events_cat] => 31bf1a8fce
    [ecp_nonce] => 61a408ad15
    [EventStartDate] => 3/17/2016
    [EventStartHour] => 01
    [EventStartMinute] => 00
    [EventStartMeridian] => pm
    [EventEndDate] => 3/17/2016
    [EventEndHour] => 10
    [EventEndMinute] => 00
    [EventEndMeridian] => pm
    [EventTimezone] => UTC-5
    [is_recurring] => Array
    (
    [0] => false
    )

    [recurrence] => Array
    (
    [rules] => Array
    (
    [0] => Array
    (
    [type] => None
    [end-type] => On
    [end] =>
    [end-count] =>
    [custom] => Array
    (
    [type] => Daily
    [interval] => 1
    [type-text] => Day(s)
    [day] => Array
    (
    [same-time] => yes
    )

    [week] => Array
    (
    [same-time] => yes
    )

    [month] => Array
    (
    [number] => First
    [day] => 1
    [same-time] => yes
    )

    [year] => Array
    (
    [month-number] => 1
    [month-day] => 1
    [same-time] => yes
    )

    [start-time] => Array
    (
    [hour] => 08
    [minute] => 00
    [meridian] => am
    )

    [duration] => Array
    (
    [days] =>
    [hours] =>
    [minutes] =>
    )

    )

    [occurrence-count-text] => events
    )

    )

    [description] =>
    )

    [venue] => Array
    (
    [VenueID] => 9163
    [Venue] =>
    [Address] =>
    [City] => Alton
    [Country] => United States
    [Province] =>
    [State] => IL
    [Zip] => 62002
    [Phone] =>
    [URL] =>
    [EventShowMap] => 1
    )

    [organizer] => Array
    (
    [OrganizerID] => Array
    (
    [0] => 9609
    )

    [Organizer] => Array
    (
    [0] =>
    )

    [Phone] => Array
    (
    [0] =>
    )

    [Website] => Array
    (
    [0] =>
    )

    [Email] => Array
    (
    [0] =>
    )

    )

    [EventURL] =>
    [EventCurrencySymbol] =>
    [EventCurrencyPosition] => prefix
    [EventCost] =>
    [yoast_wpseo_focuskw_text_input] =>
    [yoast_wpseo_focuskw] =>
    [yoast_wpseo_title] =>
    [yoast_wpseo_metadesc] =>
    [yoast_wpseo_linkdex] => -2191
    [yoast_wpseo_metakeywords] =>
    [yoast_wpseo_meta-robots-noindex] => 0
    [yoast_wpseo_meta-robots-nofollow] => 0
    [yoast_wpseo_meta-robots-adv] => Array
    (
    [0] => –
    )

    [yoast_wpseo_canonical] =>
    [yoast_wpseo_opengraph-title] =>
    [yoast_wpseo_opengraph-description] =>
    [yoast_wpseo_opengraph-image] =>
    [yoast_wpseo_twitter-title] =>
    [yoast_wpseo_twitter-description] =>
    [yoast_wpseo_twitter-image] =>
    [yoast_wpseo_google-plus-title] =>
    [yoast_wpseo_google-plus-description] =>
    [yoast_wpseo_google-plus-image] =>
    [excerpt] =>
    [metakeyselect] => #NONE#
    [metakeyinput] =>
    [metavalue] =>
    [_ajax_nonce-add-meta] => 0c452b4047
    [advanced_view] => 1
    [comment_status] => open
    [add_comment_nonce] => 3f9e06439d
    [_ajax_fetch_list_nonce] => b78b082802
    [post_name] => st-paddys-day-tavern-tour
    [post_author_override] => 4
    [redirection_slug] => /event/st-paddys-day-tavern-tour/
    )


    _wpnonce:8af3d80d0c
    _wp_http_referer:/wp-admin/post.php?post=9615&action=edit
    user_ID:4
    action:editpost
    originalaction:editpost
    post_author:4
    post_type:tribe_events
    original_post_status:publish
    referredby:https://www.heartlandlodge.com/wp-admin/post.php?post=9615&action=edit
    _wp_original_http_referer:https://www.heartlandlodge.com/wp-admin/post.php?post=9615&action=edit
    post_ID:9615
    meta-box-order-nonce:3a62d472cf
    closedpostboxesnonce:c7056dd405
    post_title:St. Paddy's Day Tavern Tour
    samplepermalinknonce:a701749afd
    _acfnonce:ccde664563
    _acfchanged:0
    content:"COME SEE ALTON FROM THE IRISH PINT OF VIEW"

    A M S is proud to host our 2st annual St.Paddy’s Day Tavern Tour ! 11 of Alton’s best pubs/taverns/bars and restaurants invite you to enjoy live entertainment, food and drink specials on
    TICKET INCLUDES: A decorative piece of St. Patrick’s Day flair to wear, along with a passport that entitles you to specials, various entertainment and giveaways at each stop. Not to mention the opportunity to win fun prizes. Completed passports can be dropped off at any participating establishment before 10pm on March 17th, 2016.

    1st Place Prize: $100 Gift Certificate to any participating establishment

    2nd Place Prize: Basket of Booze

    Grab a group of friends and join the Social Media Photo Scavenger Hunt. WINNING PRIZE: Pot O’ Goldschlager #AltonPubCrawls2016
    wp-preview:
    hidden_post_status:publish
    post_status:publish
    hidden_post_password:
    hidden_post_visibility:public
    visibility:public
    post_password:
    mm:03
    jj:17
    aa:2016
    hh:11
    mn:56
    ss:44
    hidden_mm:03
    cur_mm:03
    hidden_jj:17
    cur_jj:17
    hidden_aa:2016
    cur_aa:2016
    hidden_hh:11
    cur_hh:12
    hidden_mn:56
    cur_mn:26
    original_publish:Update
    tax_input[post_tag]:
    newtag[post_tag]:
    tax_input[tribe_events_cat][]:0
    newtribe_events_cat:New Event Category Name
    newtribe_events_cat_parent:-1
    _ajax_nonce-add-tribe_events_cat:31bf1a8fce
    ecp_nonce:61a408ad15
    _wp_http_referer:/wp-admin/post.php?post=9615&action=edit
    EventStartDate:3/17/2016
    EventStartHour:01
    EventStartMinute:00
    EventStartMeridian:pm
    EventEndDate:3/17/2016
    EventEndHour:10
    EventEndMinute:00
    EventEndMeridian:pm
    EventTimezone:UTC-5
    is_recurring[]:false
    recurrence[rules][0][type]:None
    recurrence[rules][0][end-type]:On
    recurrence[rules][0][end]:
    recurrence[rules][0][end-count]:
    recurrence[rules][0][custom][type]:Daily
    recurrence[rules][0][custom][interval]:1
    recurrence[rules][0][custom][type-text]:Day(s)
    recurrence[rules][0][occurrence-count-text]:events
    recurrence[rules][0][custom][day][same-time]:yes
    recurrence[rules][0][custom][week][same-time]:yes
    recurrence[rules][0][custom][month][number]:First
    recurrence[rules][0][custom][month][day]:1
    recurrence[rules][0][custom][month][same-time]:yes
    recurrence[rules][0][custom][year][month-number]:1
    recurrence[rules][0][custom][year][month-day]:1
    recurrence[rules][0][custom][year][same-time]:yes
    recurrence[rules][0][custom][start-time][hour]:08
    recurrence[rules][0][custom][start-time][minute]:00
    recurrence[rules][0][custom][start-time][meridian]:am
    recurrence[rules][0][custom][duration][days]:
    recurrence[rules][0][custom][duration][hours]:
    recurrence[rules][0][custom][duration][minutes]:
    recurrence[description]:
    venue[VenueID]:9163
    venue[Venue]:
    venue[Address]:
    venue[City]:Alton
    venue[Country]:United States
    venue[Province]:
    venue[State]:IL
    venue[Zip]:62002
    venue[Phone]:
    venue[URL]:
    venue[EventShowMap]:1
    organizer[OrganizerID][]:9609
    organizer[Organizer][]:
    organizer[Phone][]:
    organizer[Website][]:
    organizer[Email][]:
    EventURL:
    EventCurrencySymbol:
    EventCurrencyPosition:prefix
    EventCost:
    yoast_wpseo_focuskw_text_input:
    yoast_wpseo_focuskw:
    yoast_wpseo_title:
    yoast_wpseo_metadesc:
    yoast_wpseo_linkdex:-2191
    yoast_wpseo_metakeywords:
    yoast_wpseo_meta-robots-noindex:0
    yoast_wpseo_meta-robots-nofollow:0
    yoast_wpseo_meta-robots-adv[]:-
    yoast_wpseo_canonical:
    yoast_wpseo_opengraph-title:
    yoast_wpseo_opengraph-description:
    yoast_wpseo_opengraph-image:
    yoast_wpseo_twitter-title:
    yoast_wpseo_twitter-description:
    yoast_wpseo_twitter-image:
    yoast_wpseo_google-plus-title:
    yoast_wpseo_google-plus-description:
    yoast_wpseo_google-plus-image:
    excerpt:
    metakeyselect:#NONE#
    metakeyinput:
    metavalue:
    _ajax_nonce-add-meta:0c452b4047
    advanced_view:1
    comment_status:open
    add_comment_nonce:3f9e06439d
    _ajax_fetch_list_nonce:b78b082802
    _wp_http_referer:/wp-admin/post.php?post=9615&action=edit
    post_name:st-paddys-day-tavern-tour
    post_author_override:4
    redirection_slug:/event/st-paddys-day-tavern-tour/

    #1090801
    Geoff B.
    Member

    Good evening Justin and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us and for all your amazing suggestions.

    We are sorry to hear about the resynchronize button not working properly for you.
    I would love to help you with this topic.

    I will need to run this by our Dev team and get back to you as soon as possible.
    But before I do, I am noticing that you are using a very old version of the Events Calendar Pro (3.12.5) which might not interact nicely with our more recent plugins.

    Best regards,

    Geoff B.

    #1091067
    Justin
    Participant

    https://i.imgur.com/Ip4bPNO.png. You will see i have one update and it its from 4.1 to 4.1.0.1. I don’t know where the 3.12.5 is from cause it is always updated. Maybe the system info tool is broken. I am updating it to 4.1.0.1 but no change in the resychronize button working.

    Let me know any information you may need from my end on this issue. Thanks!

    #1091198
    Geoff B.
    Member

    Good afternoon Justin,

    Thank you for that additional information.

    I will still run this by Dev, but I do have a couple of side notes:

    1. On my installs, I am successfully able to re-sync the events when there is a time change so I am wondering if there is not something else at play here ?
    2. Would you mind sharing with me what your timezone settings are for both the Events Calendar (found in Events -> Settings) and for WordPress  in a private reply?

    Have a good week-end,

    Geoff B.

    #1091713
    Justin
    Participant

    Geoff,

    I think i mentioned that it is not only the time that is not resyncing but all the details of the resync process.

    My timezone in wordpress is set to UTC-5.

    I think the problem has to do more with the way the button not posting its name to the post request. It is very possible that your code conflicts with another popular plugin somewhere down the line.

    I am going to give you administrative access to the website so you can go in and try and event out for yourself.
    https://www.heartlandlodge.com/wp-admin

    Take a look at the following event. https://www.heartlandlodge.com/wp-admin/post.php?post=9615&action=edit
    https://www.facebook.com/events/173978906308810/
    This is a good event to test with because it is a past event. The time of the event is 1PM but it should be 4PM. 1PM was the old time of the event. 4PM was the new time after they updated it.

    Please only test with that event as this is a live event, but a past event. If you have any questions, comments, or concerns please let me know. Thanks!

    Also a side note that we are not receiving any notifications at our email address [email protected] that you have replied to this thread.

    #1092124
    Geoff B.
    Member

    Good evening Justin,

    Thank you for your answer.

    Unfortunately, our policy does not allow us to log in to clients websites for several reasons, including liability. As such, I went ahead and removed the login information you provided in the previous post.

    That being said, you are 100% right. I ran this by our best Dev team members and they reached the same conclusion as you did. This looks like a conflict with another plugin.

    Could you please go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out?

    Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.

    Additionally, it would still be worth testing a change from UTC-5 to something like “Chicago” for your WordPress timezone (even though I understand the impact is on more than just the time).

    Finally, thank you for the heads up on email notification. We are going to look into that.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1092288
    Justin
    Participant

    Geoff,

    We have located the culprit plugin of the act. It is Advanced Custom Fields Pro. As soon as we disabled the ACF Pro the facebook Sync started working perfectly. Obviously a pretty major plugin to have a compatibility issue with. Try installing both and let me know if you are running into the same thing?

    If you need an example install I have created a test site with only ACF Pro and The Events Calendar.

    Let me know!

    #1092704
    Geoff B.
    Member

    Hey Justin,

    Kudos on finding the culprit! However I am very sorry to hear about the incompatibility.

    As you might guess, we try super hard to be compatible with the greatest number of plugins possible, but sometimes we do fall a bit short on that attempt (especially provided how many there are out there!).

    Unfortunately, I do not have access to the Pro version of Advanced Custom Fields. But I did try to replicate the issue with their core version and was not able to. The synchronize button works just as it should.

    So there seems to be something going on with Advanced Custom Fields Pro specifically.

    As I mentioned earlier, unfortunately, our policy does not allow us to log in to clients websites, even test ones.

    If you don’t mind, it would be worth taking a look at the Console from Google Chrome to see what’s going on when you try to sync (error messages and such).

    Other than that, I will report this to our Dev team. But just to set expectations, I cannot commit to a fix at this point in time. I suggest you might want to do the same with the good folks behind ACF Pro.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1092839
    Justin
    Participant

    Geoff,

    I have already submitted a ticket to them to see where the issue may be. Hopefully they will be willing to contact you and work on a solution.

    I am willing to work with you guys to find the incompatibility.

    I understand you are not allowed to access the clients site in order to find the incompatibilities. What if you setup a test site somewhere I am willing to install the necessary ACF Pro so we can see the incompatibility? I mean you have to be flexible somewhat to help better the WordPress ecosystem.

    I could dig in deeper to see where the issue is if need be but it would be best to show the reproduction.

    I am sure you have people who use ACF Pro as do I.

    Just to confirm with you. I have the following:
    The Events Calendar Pro – 4.1
    The Events Calendar – 4.1.0.1
    Facebook Events – 4.1
    Advanced Custom Fields Pro – 5.3.6.1
    Fresh Twenty Sixteen Theme
    WordPress 4.4.2

    Please let me know how we can proceed to get this issue fixed. I am willing to work with you to provide the tools to get it fixed.

    #1093171
    Geoff B.
    Member

    Hey Justin,

    I totally appreciate you offer for help. In fact I will relay this to the Dev team.

    The good news is that one of our top Dev people was very interested in this and he’s pretty confident that it can be fixed relatively easily.

    Unfortunately, as stated before, I cannot commit to a release date at this point. The bugfix will have to go through the complete release cycle (prioritizing, coding, QA, etc..).

    So thank you for your patience in the meantime and we are sorry for the inconvenience this has caused so far.

    Best regards,

    Geoff B.

    #1094017
    Justin
    Participant

    Thank You for this. I eagerly await a bugfix on this issue.

    #1094320
    Geoff B.
    Member

    Thank you for your understanding Justin.

    You will be contacted as soon as the fix is out.

    Happy easter!

    Geoff B.

    #1100456
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Re-synchronize Doesn’t Update Date and Time’ is closed to new replies.