Support Forums

Event Updating Incorrectly

  • Posts: 21 Topics: 3
    | Permalink

    I noticed today that when I make a change to an event at Google calendar, it doesn’t update the change at the site. Even after I manually make the change to the event at the site, it reverts it back to the old information even though that isn’t how it is on the calendar anymore.

    | Permalink

    Hello, Samuel 🙂

    Before I test the issue myself, can you please review our Testing for conflicts guide and reply back with your findings? And if you haven’t already, I recommend reviewing what you have set for your Events > Settings > Import options to see if it’s a simple setting adjustment.

    Thank you for reaching out and have a great Wednesday. Cheers!

    Posts: 21 Topics: 3
    | Permalink

    I deactivated all of the non-corresponding plugins and used Twenty Sixteen as the theme, and it still isn’t installing correctly. I even added a new event to the calendar, which didn’t import. It seems as though it’s pulling from a cache rather than what is actually at the calendar .ics. Could it have something to do that I still have a schedule import still trying to process from when there was an issue with the plugin? I tried to get rid of it, but I can’t figure out how. I even went as far as to delete the plugin files and re-install them.

    | Permalink

    Thank you for the update,

    I am currently awaiting a snippet from another support team member that will stop the ongoing import issue. Once we have that addressed, we’ll have a better idea as to whether it is the cause of conflict or not. I imagine you’ve already reviewed Events > Settings > Imports, but if not, I recommend going over them to make sure the options are set to your liking.

    Check in on tomorrow with me and I should have the snippet for you. Thanks again and we appreciate your patience while we get this addressed. Take care.

    Posts: 21 Topics: 3
    | Permalink

    Did you have further luck with this?

    Posts: 21 Topics: 3
    | Permalink

    Just for further information, I updated to version 4.3.2; and, it still doesn’t work. It’s come to the point that the client is really on my ass about it and is considering dropping our firm from future projects. Please let me know if this can be fixed. If not, let me know that as well so that I can go elsewhere. Thank you.

    | Permalink

    Hello,

    Thank you for your patience. I wasn’t able to come up with a snippet which will stop the import, but please follow the steps below. We’ve noted this huge inconvenience and are incorporating a way to easily stop imports.

    1. Backup site and database
    2. Deactivate all Tribe plugins
    3. Delete all Tribe plugins
    4. Reinstall The Events Calendar plugin

    Once you’ve finished the steps above, temporarily revert back to the default WP theme and deactivate all plugins other than ours. From there, create a new import under Events > Import and attempt the import you originally had troubles with. Let me know how things go from there. If you still run into issues, reply back with the exact step-by-step instructions needed to replicate your issue so I can log a bug report.

    Once we have that going, our dev team will jump on it and hopefully get a fix released in the next maintenance release. I don’t have any concrete date when that will be, but rest assured we’ll get it taken care of as soon as possible.

    Thanks again for your continued patience and I look forward to hearing back. Hopefully everything works and we don’t need to log any bug reports. Cheers!

    Posts: 21 Topics: 3
    | Permalink

    I have already deleted and re-installed the plugins many times and even installed the legacy import only to find out it didn’t work and updated everything back to the current versions. The import spooling comes back and the calendar still doesn’t import correctly.

    Posts: 21 Topics: 3
    | Permalink

    Also, what created the spooling issue was that I forced an import after migrating the site from a dev URL to the site’s final domain before I entered the licenses needed to verify the plugin.

    | Permalink

    Go ahead and send over the Google Calendar URL you’re having troubles with and include the exact step-by-step instructions needed to replicate the behavior and I’ll report back with what I find out.

    Posts: 21 Topics: 3
    | Permalink

    The URL is https://calendar.google.com/calendar/ical/societycal%40gmail.com/public/basic.ics

    The issues started when I forced an import unknowingly when the license wasn’t entered. Since then, an import continues to spool even after I delete the plugins, optimize the database and re-install the plugins. Also, changes to existing events and new events do not get imported.

    | Permalink
    This reply has been marked as private.
    Posts: 21 Topics: 3
    | Permalink

    Except there are 17 events.

    | Permalink

    Let’s set that issue aside for the moment and focus on the requests I made in my last response. In the case that I can’t confirm a bug, we have a recommended list of customizers that can help troubleshoot further. Thanks and I look forward to getting that info so we can hopefully get this resolved. Have a great rest of your evening.

    Posts: 21 Topics: 3
    | Permalink

    I don’t have access to the cPanel for the site’s hosting, so I had to use a migrate tool via the WordPress dashboard to export the database, which I emailed to the address provided. I don’t know if it is going to work for your needs though. If not, let me know so that I can request it from the hosting company. I also included screenshots for the import settings.

    | Permalink

    Hey Samuel,

    Can you install and activate WP Crontrol? Once you’ve done that, visit Tools > Cron Events and delete any cron jobs relating to Event Aggregator. Let me know if you’re able to successfully stop the import.

    While you’re working on that, I will spend more time testing. A bug popped up resembling your initial issue about event info not updating on your site after it’s been updated on the Google Calendar, but I need to spend a little more time confirming they’re related. We’ll touch base once I hear back from you.

    Thank you again for your continued patience. Cheers!

    Posts: 21 Topics: 3
    | Permalink

    Sorry. The HD on my iMac failed, so I needed to replace it; then, the holiday came, so this is the first week I’ve been able to work on this for a while. I installed WP Crontrol and attempted to delete the hooks tribe_aggregator_cron and tribe_aggregator_process_insert_records, but they instantly reverted back, and the import process stayed. I then deleted the scheduled import and deleted the hooks again, only for them to revert back as well and the import process remain. I then disabled the Event plugin and deleted the tribe_aggregator_cron hook successfully. However, when enabled the Event plugin again, both hooks came back along with the import process that might be causing the problem.

    Posts: 21 Topics: 3
    | Permalink

    I took things a little further by deleting the current version of the plugin and all of the mentions of tribe in the site’s database options via Advanced DB Cleaner plugin. I then re-installed the Event plugin with the current version and activated it. The import came back and the page to add a new import seems as though it isn’t working correctly, as seen in the image I included.

    | Permalink

    Hello,

    Can you send over your System Information as a private reply? And does this issue still occur with WP Super Cache deactivated? I would fire up a whole new test installation using only our plugins and the default WP theme and try to reproduce the issues you’re having.

    Once you’ve done that, reply back with what you find out. This will clear up any possibility of WP Super Cache or any other plugin causing the conflicts. Thanks and take care.

    | Permalink

    I also wanted to provide you with a snippet that can be added to your functions.php. It helps clean up the deleted events from your database. As always, make a backup of your database prior to trying it out. Let me know if it helps!

    /*
     * Deletes the saved copy of "deleted" events generated by iCal Importer
     * This allows you to re-import events. The script deletes 50 instances per page load
     * Code by Nico; enhancement by Andras
     */
    function del_deleted_events () {
    	$posts = get_posts( array( 'post_type'=>'deleted_event', "posts_per_page" => 50, 'post_status' => 'trash', ) );
    	if (!empty($posts)) {
    		foreach ($posts as $post) {
    			wp_delete_post( $post->ID, true);
    		}
    		echo '&lt;p style="background-color:yellow;z-index:1;text-align:right;"&gt;50 deleted events removed, refresh again</p>';
    	} else {
    		echo '&lt;p style="background-color:yellow;z-index:1;text-align:right;"&gt;Done deleting!</p>';
    	}
    }
    add_action( 'admin_init', 'del_deleted_events' );
    Posts: 21 Topics: 3
    | Permalink

    I added the snippet to the end of the functions.php file. It broke my dashboard and gave me just a blank white screen.

    Posts: 21 Topics: 3
    | Permalink

    There might have been a plugin conflict that cause the import page to display incorrectly. I disabled those I no longer needed, and it now displays correctly.

    Posts: 21 Topics: 3
    | Permalink
    This reply has been marked as private.
    | Permalink

    Hello 🙂

    Is the “Your import is currently in progress.” message still appearing? We have a bug logged aimed to provide users the ability to completely “kill” an import. So if you are still battling that issue, please know it’s being worked on.

    We also have a bug logged aimed to address the issue regarding events not getting updated on your WordPress site after they’ve been updated and reimported from the source calendar. Stay tuned to our Release Notes and the plugin changelogs for more info. That fix is set to be included in the next maintenance release!

    Please let me know the status of your issue and take care!

    Posts: 21 Topics: 3
    | Permalink

    I was able to get the new import page to display correctly, but the “corrupted” import is still running and the events still won’t update, which is what you said is being fixed. I will wait for the update.

    | Permalink

    Thank you so much for your patience while we confirmed your issues are related to the logged bugs and get things sorted out and released! Have a great weekend ahead and please feel free to create a new thread if you have any new questions or concerns.

    Posts: 6125
    | Permalink

    Hi there,

    Just wanted to inform that the fix for this issue has been pushed to the Event Aggregator server! There’s no need to update the plugins, although I recommend using the latest version of The Events Calendar.

    Please let us know if this is working as expected for you,
    Best,
    Nico

    Posts: 21 Topics: 3
    | Permalink

    So, what do I do when it didn’t fix the problem? I still can’t clear the old import via WP-Cron Events, and an event name didn’t update after I changed it in Google Calendar.

    Posts: 21 Topics: 3
    | Permalink

    I will gladly provide admin access if you think that will help.

    | Permalink

    Welcome back,

    I tested again to see if the event gets updated with the altered info upon reimporting and I did not experience any issues. I’m also not seeing any recently opened bug reports about event info not being updated. Sorry there’s not much more I can do in regards to support for this issue as I’m unable to reproduce it and there don’t appear to be other users experiencing the same behavior.

    In response to the import being “stuck”, I’m also unable to reproduce this issue, though I do see a bug just created by another support team member indicating a potential bug. There doesn’t appear to be any workaround for this issue at the moment, but I’ll add this thread to the bug report which usually helps expedite a fix for the bug.

    I’ll mark this thread as ‘Pending Fix’ for the time being and please stay tuned to our Release Notes and the plugin changelogs for more information. Thanks again and let me know if you’ve got any additional questions or comments. Cheers!

The topic ‘Event Updating Incorrectly’ is closed to new replies.