This guide provides general help for common issues you may encounter when using the Envato Elements plugin for WordPress to Import Elementor Template Kits downloaded from Envato.
For help and support with troubleshooting problems with the Elementor builder, please see https://elementor.com/help/tips-tricks-more/troubleshooting/
Theme is missing the style.css stylesheet
If you try to import an Elementor Template Kit using the WordPress theme installer under Appearance > Themes > Add New, you will get this error.
Envato Elementor Template Kits and Envato Elementor Pro Template Kits are not WordPress Themes. They contain the design data for the Elementor Page Builder plugin only and are imported using the Envato Elements plugin for WordPress.
Envato Elements subscribers
Refer to How to Install Elementor Template Kits With the Envato Elements Plugin in WordPress for Subscribers
Elementor Template Kits downloaded from Themeforest (Envato Market)
Refer to How to Upload & Install Elementor Template Kits from Envato Market to WordPress
“Upload Valid Template Kit Zip” or “Failed to Process Zip File”
Template Kit Install Error : PHP Zip extension not loaded
This error indicates the PHP Zip extension is not enabled on your web server. See Elementor Template Kits: PHP Zip Extension not loaded error on Import
Imported Kit Templates are empty
You’ve successfully installed and imported your template kit, but when you open a template to view it or insert it into a new Elementor page, nothing loads and the builder is empty. This is most often due to not having the Flexbox Feature enabled. All kits published after Oct 1, 2023 will require Flexbox to be active.
Go to Elementor > Settings and click the Features tab and scroll down to Stable Features to ensure Flexbox Container has a green dot or is set to Active.
Unexpected Error: Sorry there was an unexpected error from API Call...
Unexpected errors are almost always a problem with your hosting configuration, either WordPress does not have the correct permissions or resources, or a plugin conflict is limiting resources needed for import. The Envato Elements plugin includes an error handler that will show you WordPress errors in a popup to prevent you from being locked out of your admin and to allow access to debugging information that can aid in diagnosing the problem cause.
We have provided information and tips for common Unexpected Errors below along with some general troubleshooting.
How to find your error code
Most errors have a straightforward label, but some may show you the HTML code of the page your browser would normally display.
In errors that show you HTML code, check for the plain text to determine your error code, then click Show Debug Details.At the bottom of the Debug details is often a paragraph or more outlining the problem and what you should do next.
Tips:
- If your URL is behind SSL (https://), make sure the padlock icon is closed in the address bar and there are no SSL issues present.
- Avoid leaving the WordPress window open and idle for a long period of time. You may simply need to login to WordPress again to establish a fresh session.
- Make sure no other processes are running in a different browser tab on your site such as a WordPress update, plugin update or other maintenance activity.
- Make sure you’re on a live WordPress install with a publicly reachable domain name. Temp urls, localhost, direct IPs, password protected or maintenance mode sites will not be able to facilitate adequate communication with the content servers and will have unpredictable results.
On a localhost? We cannot debug issues related to setups using localhost software such as Bitnami or XAMPP. Refer to your software documentation to troubleshoot specific errors or see https://elementor.com/academy/install-wordpress-xampp/
Common Unexpected Errors:
Failed to import template: Invalid File
The most common cause of this error is an unsupported PHP version, but may also indicate the file you are trying to upload is not supported by your server or WordPress or you are trying to import a single json file in the kit importer.
As of version 6.2 of WordPress, your hosting provider should be using PHP 8.1. Most plugins for WordPress, including Elementor, may not be fully compatible with very new versions of PHP such as 8.3.
If you are confident the item you are trying to install is an Elementor Template Kit from Envato, see above for troubleshooting zip file issues.
SyntaxError: Unexpected token… 404 Not Found
404 Not Found errors are typically caused by permission issues either in the WordPress setup or server-side configuration that prevent Elementor from locating or accessing its template storage folder.
- Follow the General Troubleshooting below to check your WordPress setup
- See https://elementor.com/help/how-to-fix-404-page-or-page-not-found-error-messages/
- If issues persist, you will need to contact your host to troubleshoot setup issues or potential problems with your .htaccess file. and DNS settings.
SyntaxError: Unexpected token…403 Forbidden
403 errors indicate a permission issue somewhere with the folders or files of your server or incorrect rules in your .htaccess file and is not something envato can resolve. The most common reasons for these errors are:
- Incorrect URL or SSL setup after migration of WordPress from one server to another
- Security plugins like Wordfence or Sucuri
- Not being logged in as an administrator
- Trying to import a WordPress Theme or other incompatible product
Step1:
First, verify you have a compatible item. If the listing on our site does not have Elementor Template Kit in the title and description, it is not a compatible item. Our plugin will not install WordPress themes, Site Templates or HTML Templates.
Step 2:
- Make sure you're not behind a proxy, VPN or have other network changes via extension in your browser.
- Make sure the domain is not behind maintenance mode.
- Log out of WordPress, then log in again to refresh your session. You must be logged in with an Administrator role.
Step 3: Check Plugins
- Make sure you are logged in to WordPress as an administrator.
- Go to Plugins and ensure all plugins are updated.
- Deactivate site-modifying plugins such as Jetpack, Wordfence, Securi, Really simple SSL, Yoast or any plugin that modifies URL handling. If this solves it, you can reactivate once the templates are imported and pages setup.
Further Help:
The following articles outline how to solve this issue from top webhosts. We recommend checking your hosts documentation to see if they have specific advice.
- https://www.bluehost.com/blog/fix-403-forbidden-error-wordpress/
- https://www.cloudways.com/blog/wordpress-403-forbidden-error/
- https://www.hostinger.com/tutorials/fix-locked-out-of-wordpress-admin-issue
The following article explains more about troubleshooting this issue with firewall plugins https://www.wordfence.com/help/blocking/troubleshooting/
TypeError: Failed to Fetch
This error may occur when using the search feature under the Free Kits or Template Kits tabs, or importing a template kit file and may require further review by your hosting provider. If your error has a “Show Debug Details” button, you may click it to see the detailed error code to assist your host with diagnosing the cause.
Common error codes are:
- cURL error 35: gnutls_handshake() failed: A TLS fatal alert has been received.
- cURL error 56: Received HTTP code 403 from proxy.
- cURL error 7: Failed to connect to <url> port 443
General Troubleshooting:
- Log out of WordPress
- Clear your browser cache
- Login again
- Under Settings > General, ensure your Site Url and WordPress Url are the same. If you have SSL, both URLs must start with https
- Make sure your server is running a recent version of PHP and the cURL library.
- The cURL error can be a dns related issue. Your hosting company might need to switch dns configuration to OpenDNS : https://www.howtogeek.com/164981/how-to-switch-to-opendns-or-google-dns-to-speed-up-web-browsing/
- Ask your host if there is some limitation with wp-cron, or if loopback is disabled.
- Ask your host if there is a firewall or security modules (e.g. mod_security ) that could block the outgoing cURL requests.
- Go to Elements > Settings and ensure all Server Limit checks are green. Red warnings must be solved by your host.
SyntaxError: Unexpected end of JSON input.
This error may occur when importing a page that includes a content block template that is not yet imported. For example, if your kit uses the Metform plugin and you do not import the forms, this error may occur on the Contact page import.
This error may also occur when importing Envato “Free Kits” if you attempt to import a template that requires Elementor Pro without Pro installed. Pro templates will always show a notice under the template if a dependency is missing.
Ensure you are importing and setting up your kit correctly following our Elementor Template Kit Install Guides (see below)
Failed to import template: Invalid template type
This error will occur if you attempt to import an Elementor Pro template such as a header, popup, WooCommerce page or Loop without having Elementor Pro installed and connected. Pro templates will always show a notice under the template if a dependency is missing. Check the item page on our website for details on Pro requirements and installation instructions.
SyntaxError: Unexpected token… 502 Bad Gateway or 504 Gateway Timeout
Gateway errors come from your host server or upstream server such as CloudFlare being overloaded. Check with your hosting provider for specific troubleshooting.
SyntaxError: Unexpected token… 503 Service Unavailable or 500 Internal Server Error
Debug Details will usually have an extended message like “ The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator to inform them of the time this error occurred, and the actions you performed just before this error.More information about this error may be available in the server error log.
Both 503 and 500 Server errors indicate that your server does not have enough resources to process the imports either due to slow connectivity, PHP configuration or plugin conflicts. Envato cannot solve host-related issues but can offer the following general troubleshooting:
General Troubleshooting
- Log out of WordPress, then login again to refresh your session (you must have the Administrator role)
- Go to Settings > Permalinks, ensure Post Name is selected, then click Save (whether you changed anything or not).
- Go to Appearance > Themes and ensure the Hello Elementor theme is installed and active. Other themes may work with Envato Template Kits, but should be activated later once the kit and templates are installed successfully to avoid potential conflicts.
- Go to Plugins and deactivate all plugins other than Elementor/Elementor Pro and the Envato Elements plugin
- Ensure all updates are run if pending.
- Go to Elementor > Settings and click the Features tab.
- Under Ongoing Experiments, set all items to Inactive.
- Under Stable Features, ensure Flexbox Container is Active and Build with AI is Inactive (unless you specifically pay for this feature)
- Go to Tools > System Health. If it is anything but Good or you see REST API errors, you must resolve noted issues before continuing.
- Check PHP:
Please ensure your server is optimized for WordPress. You may compare the values listed under Elementor > System Info with the following to determine where changes are needed.
PHP Version: PHP Version should be 8.1 as of WordPress version 6.2
- PHP Memory Limit: 256MB minimum
- PHP Max Input Vars: 1000 minimum - 3000 for WooCommerce
- PHP Max Post Size: 128MB minimum
- Max Upload Size: 64MB - values below 10 typically result in invalid file or image transfer errors, values below 50 will disallow most website image loads or any WordPress Theme upload
- 'open_basedir' should be disabled
- set 'allow_url_fopen' to 'ON'
Your host should be equipped to troubleshoot and fix the issue by checking your server error logs. They may review WordPress requirements here: https://wordpress.org/about/requirements/ and https://elementor.com/help/requirements/
Finally, ensure you are installing an Elementor Template Kit file following the correct steps using the Envato Elements plugin for WordPress.
- Do not install kits through the Elementor builder Envato button
- Do not attempt to install WordPress Themes, plugins or other template types using the Envato Elements plugin
- Do not install Elementor kits from non-Envato sources using the Envato Elements plugin
Install Guide for Envato Elements subscribers
Refer to How to Install Elementor Template Kits With the Envato Elements Plugin in WordPress for Subscribers
Install Guide for Elementor Template Kits downloaded from Themeforest (Envato Market)
Refer to How to Upload & Install Elementor Template Kits from Envato Market to WordPress
Getting Help
If you are getting an error in the Envato Elements plugin that is not listed here, email the address listed on the error popup with the following information:
- Your URL
- The name of your Elementor Template Kit or a link to the item on our website
- A screenshot of the error message or
- Click “Show Debug Details” on the error popup (if available) and copy/paste the contents into the body of your email. Please do not send us attachments.