Unable to Import Pre-built websites
Hi,
I am unable to import any pre-built websites.
I have set PHP config as recommended.
Theme Version 27.2.5
When I attempt to import it gets stuck at content and I get the following error in the logs:
[Sun Oct 01 13:55:02 2023] [error] [client 86.151.1.53:0] AH01071: Got error 'PHP message: PHP Warning: file_get_contents(/home/sites/29a/1/1cb1b868bd/public_html/wp-content/uploads/betheme/websites/cosmetics3/cosmetics3/content.xml.gz): failed to open stream: No such file or directory in /home/sites/29a/1/1cb1b868bd/public_html/wp-content/themes/betheme/functions/importer/class-mfn-importer-helper.php on line 237PHP message: PHP Warning: gzdecode(): data error in /home/sites/29a/1/1cb1b868bd/public_html/wp-content/themes/betheme/functions/importer/class-mfn-importer-helper.php on line 240PHP message: PHP Fatal error: Uncaught Error: Call to a member function children() on null in /home/sites/29a/1/1cb1b868bd/public_html/wp-content/themes/betheme/functions/importer/class-mfn-importer-helper.php:252\nStack trace:\n#0 /home/sites/29a/1/1cb1b868bd/public_html/wp-content/themes/betheme/functions/importer/class-mfn-importer-helper.php(189): Mfn_Importer_Helper->custom_import('1')\n#1 /home/sites/29a/1/1cb1b868bd/public_html/wp-content/themes/betheme/functions/admin/setup/class-mfn-setup.php(729): Mfn_Importer_Helper->content('1')\n#2 /home/sites/29a/1/1cb1b868bd/public_html/wp-includes/class-wp-hook.php(310): Mfn_Setup->_content('')\n#3 /home/sites/29a/1/1cb1b868bd/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)\n#4 /home/sites/29a/1/1cb1b868bd/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#5 /home/sites/29a/1/1cb1b868bd/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_mfn_set...')\n#6 {main}\n thrown in /home/sites/29a/1/1cb1...'
Comments
Hello,
Please turn off all of the plugins, refresh your cache, and check if the problem persists.
Moreover, please update the theme to the newest version.
Thanks