• Resolved skigirl1369

    (@skigirl1369)


    I have been using the WP All Import plugin to import events from an XML file for a few years. Suddenly the events stopped showing on the front-end.

    If I open the event in the editor and update it (no edits), then it shows. I think it has something to do with Event Status (Scheduled, Cancelled, Postponed) possibly not being set when imported. But I can’t seem to access a custom field or meta for the settings of this panel to assign the status during the import to see if this is the issue.

    I did an export with WP All Export to see if I could find this item, but it wasn’t listed in the CSV. It does not appear that the Event Aggregator will accept XML…

    Any thoughts on why the events are not visible until “updated” (despite no actual edits being made)?

Viewing 15 replies - 1 through 15 (of 22 total)
  • I’m facing the exact same issue, using WP All Import because the client has multilingual events so I need to match Events with WPML, import works great but events show 404 until manually updating them

    Any clue?

    Plugin Support Darian

    (@d0153)

    Hi @skigirl1369 @polsola

    Thanks for reaching out.

    Unfortunately, this is a known issue with our plugin. WP All Import does not work for The Events Calendar users that have upgraded to version 6.x AND migrated their event data.

    We are in contact with the team behind WP All Import. A permanent fix will require a new add-on on their end. You are encouraged to let them know and reach out to them, and that should help to make sure it is on their priority list.

    For now, the only workaround is to use version 6.x but don’t migrate the event data for now. As always, to be safe, we’d recommend conducting tests and updates on a Staging Server.

    Please let me know if you have further questions or concerns.


    Bug Ticket Reference:
    TEC-4516

    Hello, I’ve contacted WP All Import team, this is the answer they have me:

    “There’s nothing that we can do about this, unfortunately. They switched to using custom database tables which aren’t supported out of the box. We offered our assistance to The Events Calendar team so that they could build an add-on, but they never replied back.?

    If you cannot roll back to a previous version, as recommended by Darian, then you could also create your own add-on:?https://www.wpallimport.com/documentation/addon-dev-overview/.”

    Could you let me know whats the issue if it can be fixed with some SQL update or similar, I only need to run the import once, so a temporary fix might work

    Thread Starter skigirl1369

    (@skigirl1369)

    I reached out as well and the answer provided was:

    Unfortunately, we currently don’t have any plans to create an add-on for The Events Calendar to support their version 6 changes. They switched to custom database tables, which aren’t supported out of the box. We offered our assistance to The Events Calendar team so that they could build an add-on, but I don’t see that they responded.

    So my question is:
    Is there a way to uninstall The Events Calendar completely (100%) so that I can install the older version, add my events, and then update the plugin WITHOUT migrating those events?

    Plugin Support Darian

    (@d0153)

    @polsola I am afraid we could not provide you with a temporary fix for it.

    However, what @skigirl1369 is thinking could be a possible workaround.

    Please create a staging version of your live site and test the following steps below from there and check if it works for you.

    Revert the migration process:

    1. Install the free Code Snippets plugin.
    2. In your dashboard, go to Snippets > Add New and copy the snippet below.
    3. Select Only run once.
    4. To confirm that it is reverted, the Upgrade tab should now show from Event > Settings page.

    Once reverted, please update The Events Calendar plugin to 5.16.4, install the WP All Import and import your events.

    After events are imported, you can now upgrade The Events Calendar to the latest version and run your migration accordingly.

    Again, please run the workaround on a staging version of your live site.

    I hope this helps, and please let me know if you have further concerns.

    @d0153
    Same problemo …
    but can’t find any snippet to copy

    Plugin Support Darian

    (@d0153)

    Hi @jawbone

    I’m sorry for the inconvenience. Kindly add this snippet and execute it once, but make sure it is not left activated.

    Let me know if you have further questions or concerns.

    Plugin Support Darian

    (@d0153)

    Hi @skigirl1369

    I apologize for the late update. We are pleased to inform you that the latest update of our plugin should resolve the issue you reported. We suggest that you update your plugins as soon as possible and let us know if the issue persists.

    As always, please test it first in your staging site to avoid unnecessary downtime.

    Let me know how it goes.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that there hasn’t been any recent activity on this thread, so we’ll consider it resolved. However, if you have any additional questions or concerns, feel free to start a new thread.

    Thread Starter skigirl1369

    (@skigirl1369)

    I just installed the latest version of the Events Calendar on a staging site. However, no imported events from WP All Import are showing except one that i had to open and update manually.

    https://staging2.csnh.com/news-and-events/

    Do we need to redo our imports?

    Plugin Support Darian

    (@d0153)

    Hi @skigirl1369

    Upon checking, the fix that was implemented is only a partial fix. Where you need to install an extension and use WP All Import Pro for it to work.

    In the meantime, we have an extension available to let you migrate your calendar data between sites.

    More details on current limitations on the extension’s page.

    @d0153 Hey there, I’ve just stumbled upon this thread because I have more or less the same problem. In my case, I didn’t try to import events from another site, but from an outside source (JSON API) to WordPress via WP All Import Pro.

    While importing in general works well, my imported events also wouldn’t show up on the front end unless I opened and re-saved them manually.

    If I install your ‘WP All Import Add-On for The Events Calendar’ extension, imports fail because your extension doesn’t allow the post type (although it’s the right one), thus the import skips the entries and does nothing. This does not change if I add your filter

    add_filter( 'tec_labs_wpai_delete_mismatching_post_type', function() { 
        return false;
    } );

    to my theme, import would just skip. Is your extension only able to handle previously exported events through WP All Export? Or why does your extension block the import due to a mismatching post type, despite having used your filter?

    For clarity, I’m only importing events with title, description, start and end dates, a custom field and the event URL, no venues, tickets etc., just plain events.

    • This reply was modified 7 months, 4 weeks ago by physalis.
    • This reply was modified 7 months, 4 weeks ago by physalis.
    Plugin Support Darian

    (@d0153)

    Hi @physalis

    Thanks for your message.

    At the moment, our system can only accommodate the exported events from the WP All Export plugin. To ensure compatibility, please make sure to carefully follow the specific steps outlined on our extension page.

    If you have further questions or concerns, please open a new thread and provide all necessary details so we can check the issue further.

    Hey @d0153, thanks for getting back. I already tried some time ago to import events to The Events Calendar, but failed at the same state, having to then open and save a hundred imported events manually in order to have them show up in TEC. Is there any way to re-save them in batch, so that TEC recognises my imported events? save_post(), as far as I remember, doesn’t do anything. From what I read above, the problem is your plugin using a non-standard extra database table to store information, instead of wp_posts and wp_posts_meta.

    Funny thing is, when I try to import via WP All Import from a JSON source, I want to save them as your custom post type, only either a) without your extension, events are being stored, but not shown on site or b) with your extension, the extension complains it’s not the right post type, so WP All Import skips event creation accordingly.

    So, is there a way to reliably import events from a third-party JSON file? You aggregator only supports a few formats, and JSON is not amongst them.

    @physalis I am stuck with exactly the same problem while trying to establish an automated/scheduled event import: the TEC aggregator only accepting CSV (all fields, but no scheduling, clumsy manual upload necessary, and SLOOOOOOW) or ical ( speedy, scheduled from URL, but only few fieds being supported)

    So I also was hoping that WPAI would do the trick for the much more robust JSON input but as you know that doesn’t work.
    My current workaround is to re-format my XML or JSON data into csv (argh …) and to automatically fetch those into the media DB from remote URLs so at least the upload-csv-to-server step in the workflow can be automated. Did you meanwhile find some other hack to make the events show up after the import ?

    @d0153 Any progress on TEC becoming WP-All-Import compatible again like it once used to be? Is that something that is being worked on? That would solve many problems at once – regarding scheduling, speed and supported source formats. Not to mention error tracking.

    Regards,

    Uli

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Events imported with WP All Import not showing’ is closed to new replies.