Elementor Template Kit Import Fails with “Invalid JSON” Error on WordPress

Hi Envato Community,

I’m trying to import an Elementor Template Kit from Envato Elements into my WordPress site, but I keep getting an “Invalid JSON” error in the Elementor editor.

Details:

  • Setup: WordPress 6.5.5, Elementor Pro 3.22.0, Envato Elements plugin 2.0.12, PHP 8.1, hosted on SiteGround.
  • Template Kit: “Creative Portfolio” kit from Envato Elements, downloaded July 1, 2025.
  • Issue: When importing via Elementor > Templates > Import Templates, the upload fails with “Invalid JSON format” error.
  • Steps Tried:
    • Verified Template Kit ZIP file is not corrupted (re-downloaded from Elements).
    • Increased PHP memory limit to 256M in wp-config.php.
    • Disabled other plugins (e.g., Yoast SEO) to avoid conflicts.
    • Checked WordPress debug log: shows “Unexpected token in JSON at position 0.”
    • Tried importing on a fresh WordPress install; same error.
  • Environment: Latest Chrome browser, no server errors in SiteGround logs, Elementor requirements met.

Is this a known issue with recent Template Kits or an Elementor compatibility problem? Any tips to fix the JSON error or debug the import process? Thanks for any insights!

Thanks for sharing! I had the same “Invalid JSON” error with an Elementor Template Kit (“Creative Portfolio”) on WordPress 6.5.5 and Elementor Pro 3.22.0. Clearing the Elementor cache (Elementor > Tools > Regenerate CSS & Data) and re-importing fixed it for me. Have you tried this? Also, could PHP 8.1 compatibility be an issue with certain Template Kits? Any insights on that?

Hello,

Please email the “debug details” along with your post information to the email address on the error so we can support you.

PHP version should be 8.1 for WordPress currently and we can confirm all kits import without issue on Siteground (but you need to ensure SSL is setup and activated)