$data['post_content'] = wp_slash( $data['post_content'] );
I then imported the starter template again, and it worked. I thought you should know, because this is affecting some users.
]]>I’ve been using The Event Calendar for a short time but lately, it continually imports the same file over and over again..
I keep getting an error email from WordPress : “Your website has a technical issue” (my translation from french). Looking at the email, it states :
"Uncaught ValueError: Path cannot be empty in /home/.../wp-content/plugins/the-events-calendar/src/Tribe/Importer/File_Reader.php:22".
When I installed The Event Calendar, I exported events from Modern Event Calendar to csv and imported in The Event Calendar and once done I removed 2 of the 3 files (Venues and Organiser were removed but Events, I forgot to).
Looking a the importer history, I see that the Events file is imported almost every day even though it is a one time import.
I also see this warning in WordPress “fatal errors” log since september 17th.
It does not seem critical as everything works but WordPress says it is..
Thanks for your help.
This topic continues my previous topic: https://www.ads-software.com/support/topic/product-csv-importer-not-working-when-the-csv-file-contains-chinese-characters/
When I tried some more complex products (with variations), I still had the same problem.
I did this with the following steps:
1. I used CSV Importer to import a CSV file containing only English information to create a complex product with variations. Everything is OK.
2. Then I manually created and added Chinese product attributes on the product editing page.
3. Then I exported this product using?CSV Exporter?and re-imported it using?CSV Importer (At this time, I did not make any edits to the exported CSV file) , but I still found some errors.
You can use the following files for testing:
]]>I’m having some issues importing products via CSV files. These products were exported from an English website and need to be imported into a Chinese website.
When I translated some attributes into Chinese and imported them, I found that the Importer did not work properly.
The following figure shows the recognition result of Importer before translation:
When I translated only Attribute 2 value(s), it recognized the following result, The values ??of other columns are identified in the Attribute2 value(s) column
I can confirm that there is no file encoding problem, they are all UTF-8 files
]]>It has worked before and I haven’t changed any settings so I figure it must be an issue your end.
]]>Is there any way to force the WooCommerce importer or wp_handle_sideload
to treat an image URL as an image?
I’m importing a bunch of products with variations and it’s working well, but it cannot grab the image from the URL. For some reason, even though the URL of the image is responding with the correct MIME type in the header (image/jpeg), the importer doesn’t treat it as such.
Writing to the log at certain points for whatever reason it doesn’t seem to realise the image is an image. An example image – which you can see there isn’t a file extension – is attached (I’m working locally).
Checking it for whatever reason I cannot figure out why it’s not.
define('ALLOW_UNFILTERED_UPLOADS', true);
produces another error. It uploads the file but it’s unable to attach it to the post. It doesn’t show as a media file but when I download the file I can open it as an image.What would be ideal would be a way to force the WooCommerce importer in the CSV to treat the file as an image, even though for some reason it’s not able to detect the fact it’s an image.
Any ideas?
]]>I have an issue with the importer when i try to run it, I have the same error for each item : “Failed to insert post. The error was as follows: Unable to insert publication in database“.
I take the items from an online CSV and I’ve set just the basic required filed (title, property ID, content and exerpt)
If anyone has any ideas, I’d love to hear from you
]]>