CSV import creates error 500 when starting preview
When going to (German): Admin > Veranstaltungen > Importieren > Neuer Import > CSV Datei > Veranstaltungen > Datei wählen > click „Vorschau (preview)“ creates 500 error:
[24-Sep-2018 08:14:43 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_data_hash() on null in \wp-content\plugins\the-events-calendar\src\Tribe\Aggregator\Tabs\Abstract.php:140
#0 \wp-content\plugins\the-events-calendar\src\Tribe\Aggregator\Tabs\New.php(88): Tribe__Events__Aggregator__Tabs__Abstract->handle_submit()
#1 \wp-content\plugins\the-events-calendar\src\Tribe\Aggregator\Tabs\New.php(420): Tribe__Events__Aggregator__Tabs__New->handle_submit()
#2 \wp-includes\class-wp-hook.php(298): Tribe__Events__Aggregator__Tabs__New->ajax_create_import(”)
#3 \wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#4 \wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#5 \wp-admin\admin-ajax.php(91): do_action(‘wp_ajax_tribe_a…’)
thrown in \wp-content\plugins\the-events-calendar\src\Tribe\Aggregator\Tabs\Abstract.php on line 140
Preview creates 500 error and does not show any results. Does neither work with PHP5 or 7 version. Can you please help. Thx
your asking about FB imports, which is another issue. But i did und do have in fact scheduled imports from FB. But i cannot see them anymore due to Events aggregator lacking support for FB imports. I also cannot update FB token, since there is noch anymore any menue for that in event aggregator. I made you a screenshor how that looks in my backend.
Thanks for sharing that!
The errors are likely related to a bug we are aware about. It is related to Facebook imports. Since Facebook changed their API it is not possible any more to import events from there the ‘old’ way, so we had to remove that functionality in order not to confuse people, and not to make them think it still works. After the change in the code, in some rare edge cases errors like you shared appear.
A fix for that is already on the way, if all goes well we are going to publish it next week with the maintenance release. Hang in there.
As for the csv import, when you do the preview do you get a view similar to this screenshot?
The preview shows only one column. That happens because the file uses semi-colon (;) to separate the different columns. The import cannot work with that, it would need a comma (,) as a separator.
thats good news, so I’ll keep patient till next week. Concerning your question, no, i don’t see anthing similar to that. In the past everything was fine with semikolons (don’t really remember if I changed csv to comma instead of semikolon as separator, actually i don’t think so) and i saw separate columns/fields to match.
Now i just see the rotating circle in preview an nothing more happens
Thanks for confirming that it works! I’m happy to hear that.
Also thanks for the screenshot. Having the columns next to each other is normal, that’s how it should look like. However, the ‘design’ you have looks very unusual. What device are you using? Is it a PC, Mac or a tablet?
Might be a plugin or you theme did some modification on the looks of things.
This is how it should look like normally: https://dl.dropbox.com/s/e60jfsizj48w540/shot_181011_121418.jpg
There is no overlapping in the columns.
To find out if another plugin or your theme is doing these changes you can go through our conflict testing guide.
If you have a test site, I would be happy to log in and take a look as well.
Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team