December 16, 2021 at 9:50 am
Just installed Kadence on a fresh WP install. I stood this web server up myself, done it many times, haven’t had this issue before. The one thing different in my setup is I’m running PHP version 8 but I checked my php.ini settings and also I’m not getting any errors in my PHP log.
When I try to install a starter template it says: “Import complete!” then below it says “Error: Internal Server Error (500)”
I found this in my NGINX error log:
2021/12/16 16:28:21 [error] 11743#11743: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function read() on bool in /usr/share/nginx/html/coryell/wp-content/plugins/kadence-starter-templates/vendor/wxr-importer/WXRImporter.php:366
Stack trace:
#0 /usr/share/nginx/html/coryell/wp-content/plugins/kadence-starter-templates/inc/class-importer.php(100): AwesomeMotive\WPContentImporter2\WXRImporter->import()
#1 /usr/share/nginx/html/coryell/wp-content/plugins/kadence-starter-templates/inc/class-importer.php(199): Kadence_Starter_Templates\Importer->import()
#2 /usr/share/nginx/html/coryell/wp-content/plugins/kadence-starter-templates/class-kadence-starter-templates.php(2054): Kadence_Starter_Templates\Importer->import_content()
#3 /usr/share/nginx/html/coryell/wp-includes/class-wp-hook.php(303): Kadence_Starter_Templates\Starter_Templates->import_demo_data_ajax_callback()
#4 /usr/share/nginx/html/coryell/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#5 /usr/share/nginx/html/coryell/wp-includes/plugin.php(470): WP" while reading response header from upstream, client: 74.75.254.194, server: localhost, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm.sock:", host: "dev.coryellautismcenter.org", referrer: "*Login to see link
Any idea what might be going on here? Is there a compatibility issue with PHP8?
Thanks.