import issues with svg files
Support Forums › Kampina › import issues with svg files
- This topic has 12 replies, 2 voices, and was last updated 1 month, 1 week ago by
Nicolas.
-
AuthorPosts
-
March 6, 2026 at 10:52 am #270
Nicolas
ParticipantHello, I’m experiencing import issues that seem to be related to the demo SVG files. How can I import them? Here is the error log from the import.
Thanks in advance.
NicolasLog :
[ERROR] Failed to import “footer-logo” (Fichier média)
[ERROR] Failed to import “home-heading” (Fichier média)
[ERROR] Failed to import “icon-tent” (Fichier média)
[ERROR] Failed to import “icon-cottage” (Fichier média)
[ERROR] Failed to import “icon-mountains” (Fichier média)
[ERROR] Failed to import “icon-barbecue” (Fichier média)
[ERROR] Failed to import “icon-camper” (Fichier média)
[ERROR] Failed to import “icon-trail-map” (Fichier média)
[ERROR] Failed to import “about-bg” (Fichier média)
[ERROR] Failed to import “icon-about-expert-staff” (Fichier média)
[ERROR] Failed to import “icon-about-beautiful-location” (Fichier média)
[ERROR] Failed to import “icon-about-exciting-activities” (Fichier média)
[ERROR] Failed to import “icon-about-community-spirit” (Fichier média)
[ERROR] Failed to import “icon-about-wild-camp-life” (Fichier média)
[ERROR] Failed to import “icon-about-closer-to-nature” (Fichier média)
[ERROR] Failed to import “icon-air-condition” (Fichier média)
[ERROR] Failed to import “icon-barbeque” (Fichier média)
[ERROR] Failed to import “icon-double-bed” (Fichier média)
[ERROR] Failed to import “icon-fridge” (Fichier média)
[ERROR] Failed to import “icon-internet” (Fichier média)
[ERROR] Failed to import “icon-microwave” (Fichier média)
[ERROR] Failed to import “icon-parking” (Fichier média)
[ERROR] Failed to import “icon-shower” (Fichier média)
[ERROR] Failed to import “icon-wardrobe” (Fichier média)
[ERROR] Failed to import “icon-campfires” (Fichier média)
[ERROR] Failed to import “icon-montain-biking” (Fichier média)
[ERROR] Failed to import “icon-montain-hiking” (Fichier média)
[ERROR] Failed to import “icon-wildlife-watching” (Fichier média)
[ERROR] Failed to import “icon-phone” (Fichier média)
[ERROR] Failed to import “icon-email” (Fichier média)
[ERROR] Failed to import “icon-location” (Fichier média)
[ERROR] Failed to import “logo-adventa” (Fichier média)
[ERROR] Failed to import “logo-travelo” (Fichier média)
[ERROR] Failed to import “logo-happy-trails” (Fichier média)
[ERROR] Failed to import “logo-pinescape” (Fichier média)
[ERROR] Failed to import “logo-nature-nomads” (Fichier média)
[ERROR] Failed to import “home-bg” (Fichier média)
[ERROR] Failed to import “logo” (Fichier média)March 6, 2026 at 10:56 am #271TigriWeb
KeymasterHello Nicolas,
The import errors are happening because the required SVG plugin wasn’t installed or activated. Our demo import relies on it to handle SVG files like footer-logo, home-heading, icon-tent, etc.
Please make sure the required SVG plugin (e.g., Safe SVG) is installed and active, then try the import again — it should work without errors.
Best regards,
TigriWeb TeamMarch 6, 2026 at 11:17 am #272Nicolas
Participant(Hi) again,
The Safe SVG plugin was already installed and activated during the import. I tried the import again and I’m still getting the same errors. However, I had deactivated the Mailchimp plugin because I’m using MailPoet, but I don’t think that’s related.
Thanks for your help.
NicolasMarch 6, 2026 at 11:30 am #273TigriWeb
KeymasterCould you create a user “administrator” and send access to the admin panel to the email – tw-dev@tigriweb.dev ?
Best regards,
TigriWeb TeamMarch 6, 2026 at 11:40 am #274Nicolas
ParticipantThe administrator account has been created; you should have received an automatic email. You need to add the “?access” parameter at the end of the URL to access the administration area.
NicolasMarch 6, 2026 at 11:53 am #275TigriWeb
KeymasterCould you please remove the ?access parameter temporarily so we can check if the import issue is related to that security layer?
Best regards,
TigriWeb TeamMarch 6, 2026 at 12:00 pm #276TigriWeb
KeymasterAnd Enable debugging:
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true );Best regards,
TigriWeb TeamMarch 6, 2026 at 1:31 pm #277Nicolas
ParticipantOk, it’s done.
Thanks
NicolasMarch 6, 2026 at 1:59 pm #278Nicolas
ParticipantAnother detail that might help you: during the first import, I had unchecked the installation of WooCommerce. I thought the accommodation listings were custom posts.
NicolasMarch 6, 2026 at 2:00 pm #279TigriWeb
KeymasterOkay, something seems to have changed since the last update. I also tried it on my staging site and had the same issue.
This code should help — add it to your
functions.phpbefore the import:add_filter( 'upload_mimes', function ( $mimes ) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } );P.S. I got blocked by “Protection par ParFeu · Acantic”, IP 185.5.218.15.
I added a debugging plugin there — it can be removed..))Best regards,
TigriWeb TeamMarch 6, 2026 at 2:12 pm #280Nicolas
ParticipantThank you, I’ve just redone an import using the filter you sent me in functions.php and it worked. However, do I need to keep this filter in place permanently, or can I remove it? The Safe SVG plugin should be enough, right? Thanks for getting back to me.
NicolasMarch 6, 2026 at 2:14 pm #281TigriWeb
KeymasterGreat to hear it worked! You don’t need to keep the filter permanently — it was only needed to allow SVG uploads during the import. Once the import is done, you can safely remove it.
Yes, the Safe SVG plugin is enough for ongoing SVG uploads and handling.
Best regards,
TigriWeb TeamMarch 6, 2026 at 2:16 pm #282Nicolas
ParticipantOK, thank you very much for your quick response.
Nicolas -
AuthorPosts
- You must be logged in to reply to this topic.