Critical error while installing pre-built website
Hello,
I'm trying to import a prebuilt website spa5. The import process doesn't finish, and I receive an error stating that there was a critical error on the website. What should I do? Thanks.
Hello,
I'm trying to import a prebuilt website spa5. The import process doesn't finish, and I receive an error stating that there was a critical error on the website. What should I do? Thanks.
Comments
Hi,
Please, see the following video tutorial, and ensure that you do all steps correctly.
https://support.muffingroup.com/video-tutorials/how-to-import-pre-built-websites/
Moreover, please share with us your PHPINFO file.
If you do not know how to do it, please check this topic:
https://support.muffingroup.com/how-to/how-to-create-phpinfo-php-page/
Thanks
Hi. Thanks. I watched the video, I did it all correctly, but the error remains. Here is the PHPinfo file:
You have low max input vars and max input time values set on your server.
Please, contact your hosting provider, and ask to increase these values:
Thanks
Thank you. I did that, and also increased the max_execution_time from 30 to 60 seconds. It didn't help, the error persists. This is what the error says:
There was an error when reading this WXR file
Details are shown above. The importer will now try again with a different parser...
Nevermind, I've found the fix. I just needed to add the following to functions.php:
add_filter( 'wp_image_editors', 'change_graphic_lib' );
function change_graphic_lib($array) {
return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
}
Solved!
Thank you for your assistance.
Oh, and could you please delete the link to the phpinfo.php file? I cannot do it myself. Thank you in advance!
You are welcome.
If you have other questions or problems, please, let me know.
Thanks