I am trying to use the one click demo import for my physio theme, but when I click on "import demo data" I keep getting Error: internal server error (500).
I tried disabling other plugins but still issue persists. Can you please tell me the exact step to import the demo data?
From php logs:
[20-Aug-2020 17:45:34 UTC] PHP Fatal error: Uncaught Error: Class 'XMLReader' not found in /var/www/html/wp-content/plugins/one-click-demo-import/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php:127 Stack trace: #0 /var/www/html/wp-content/plugins/one-click-demo-import/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php(350): AwesomeMotive\WPContentImporter2\WXRImporter->get_reader('/var/www/html/w...') #1 /var/www/html/wp-content/plugins/one-click-demo-import/inc/Importer.php(80): AwesomeMotive\WPContentImporter2\WXRImporter->import('/var/www/html/w...') #2 /var/www/html/wp-content/plugins/one-click-demo-import/inc/Importer.php(139): OCDI\Importer->import('/var/www/html/w...') #3 /var/www/html/wp-content/plugins/one-click-demo-import/inc/OneClickDemoImport.php(293): OCDI\Importer->import_content('/var/www/html/w...') #4 /var/www/html/wp-includes/class-wp-hook.php(287): OCDI\OneClickDemoImport->import_demo_data_ajax_callback('') #5 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #6 /var/www in /var/www/html/wp-content/plugins/one-click-demo-import/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php on line 127
Hello,
I am trying to use the one click demo import for my physio theme, but when I click on "import demo data" I keep getting Error: internal server error (500).
I tried disabling other plugins but still issue persists. Can you please tell me the exact step to import the demo data?
From php logs:
[20-Aug-2020 17:45:34 UTC] PHP Fatal error: Uncaught Error: Class 'XMLReader' not found in /var/www/html/wp-content/plugins/one-click-demo-import/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php:127
Stack trace:
#0 /var/www/html/wp-content/plugins/one-click-demo-import/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php(350): AwesomeMotive\WPContentImporter2\WXRImporter->get_reader('/var/www/html/w...')
#1 /var/www/html/wp-content/plugins/one-click-demo-import/inc/Importer.php(80): AwesomeMotive\WPContentImporter2\WXRImporter->import('/var/www/html/w...')
#2 /var/www/html/wp-content/plugins/one-click-demo-import/inc/Importer.php(139): OCDI\Importer->import('/var/www/html/w...')
#3 /var/www/html/wp-content/plugins/one-click-demo-import/inc/OneClickDemoImport.php(293): OCDI\Importer->import_content('/var/www/html/w...')
#4 /var/www/html/wp-includes/class-wp-hook.php(287): OCDI\OneClickDemoImport->import_demo_data_ajax_callback('')
#5 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#6 /var/www in /var/www/html/wp-content/plugins/one-click-demo-import/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php on line 127
Found the solution.
I was missing the package php-xml on my server. After running the following commands, I was able to use the one click demo import:
sudo yum install php-xml
sudo systemctl restart httpd
sudo systemctl restart php-fpm
Hi there,
Thank you for purchasing the Physio WordPress theme.
I'm glad to hear you've figured it out. Also, thank you for sharing the solution to install the php-xml package
If you have any other questions please let me know.
Best regards,
Barry
QreativeThemes.com | WordPress Themes