[ERROR] Failed to import "Home 2" page
Last updated
Last updated
The problem may be due to a security plugin/or a security configuration that prevents pages containing Emoij characters from being added. Because the theme's home pages contain Emoji characters, WordPress cannot import them.
The workaround is that you need to find your security plugin or security configuration and temporarily close it.
Or a simpler way is to use this custom PHP function to remove the Emoji characters in the demo pages and then import will work fine.
To add a PHP function to your WordPress site:
Navigate to Theme File Editor: go to Appearance > Theme File Editor.
Select the functions.php
File:
On the right side, you’ll see a list of theme files. Find and click on functions.php
under the Theme Files section. This file is typically listed as Theme Functions.
Add Your PHP Function
Save