Uncaught Error: Call to undefined function simplexml_load_string()

Getting this error when trying to install a pre-made website on my server (during the "content" phase). Running Debian 11.8 with PHP7.4 and NGINX 1.18. Any help would be greatly appreciated!!!


2023/12/01 05:04:03 [error] 445#445: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /var/www/domain.com/wp-content/themes/betheme/functions/importer/class-mfn-importer-helper.php:242

Stack trace:

#0 /var/www/domain.com/wp-content/themes/betheme/functions/importer/class-mfn-importer-helper.php(189): Mfn_Importer_Helper->custom_import()

#1 /var/www/domain.com/wp-content/themes/betheme/functions/admin/setup/class-mfn-setup.php(736): Mfn_Importer_Helper->content()

#2 /var/www/domain.com/wp-includes/class-wp-hook.php(324): Mfn_Setup->_content()

#3 /var/www/domain.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

#4 /var/www/domain.com/wp-includes/plugin.php(517): WP_Hook->do_action()

#5 /var/www/domain.com/wp-admin/admin-ajax.php(188): do_action()

#6 {main}

  thrown in /var/www/domain.com/wp-content/themes/betheme/functions/importer/class-mfn-importer-helper.php on line 242" while reading response header from upstream, client: 70.130.95.140, server: domain.com, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/domain.com.sock:", host: "domain.com", referrer: "https://domain.com/wp-admin/admin.php?page=be-websites"

Comments

Sign In or Register to comment.