Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Error Importing a Starter Template on Flywheel Local

Home / Forums / Kadence Theme / Error Importing a Starter Template on Flywheel Local

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
January 18, 2025 at 7:55 am

Hello, I have googled and saw similar posts but nothing could help me.

This is my setup

– Windows PC
– Local 9.1.1
– Server: NGINX
– PHP: 8.2.23
– MySQL: 8.0.16
– WP: 6.7.1

What Happend
I have installed WP freshly and then Kadence along with the necessary plugins according to the official documentation.
Next, I’ve tried to install a Starter Template. I can choose colors etc., but then it will aboard amidst installation.

These are the logs

[18-Jan-2025 14:45:12 UTC] PHP Warning: XMLReader::read(): file:/C:/Users/myUserName/Local%20Sites/MyProject/app/public/wp-content/uploads/2025/01/demo-content-import-file_2025-01-18__14-44-48.xml:1: parser error : Document is empty in C:\Users\myUserName\Local Sites\MyProject\app\public\wp-content\plugins\kadence-starter-templates\wxr-importer\WXRImporter.php on line 357
[18-Jan-2025 14:45:12 UTC] PHP Warning: XMLReader::read(): {"code":"rest_no_route","message":"No route was found matching the URL and reque in C:\Users\myUserName\Local Sites\MyProject\app\public\wp-content\plugins\kadence-starter-templates\wxr-importer\WXRImporter.php on line 357
[18-Jan-2025 14:45:12 UTC] PHP Warning: XMLReader::read(): ^ in C:\Users\myUserName\Local Sites\MyProject\app\public\wp-content\plugins\kadence-starter-templates\wxr-importer\WXRImporter.php on line 357
[18-Jan-2025 14:45:12 UTC] PHP Warning: foreach() argument must be of type array|object, string given in C:\Users\myUserName\Local Sites\MyProject\app\public\wp-content\plugins\kadence-starter-templates\inc\class-widget-importer.php on line 171
[18-Jan-2025 14:45:12 UTC] PHP Warning: foreach() argument must be of type array|object, string given in C:\Users\myUserName\Local Sites\MyProject\app\public\wp-content\plugins\kadence-starter-templates\inc\class-widget-importer.php on line 171
[18-Jan-2025 14:45:12 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, int given in C:\Users\myUserName\Local Sites\MyProject\app\public\wp-content\plugins\kadence-starter-templates\inc\class-import-actions.php:289

When I go to the folder to view the file (“demo-content-import-file_2025-01-18__14-44-48.xml”), it says “{“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method.”,”data”:{“status”:404}}”

  • The forum ‘Kadence Theme’ is closed to new topics and replies.