Home›Support›English Support›[Resolved] Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in
[Resolved] Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an error after installing and activating the otgs-installer-plugin, which results in a PHP fatal error with a stack trace pointing to
We install and activate the otgs-installer-plugin and get the following error message
in /var/www/html/wordpress/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/includes/class-wp-installer.php:886 Stack trace: #0 /var/www/html/wordpress/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/includes/class-wp-installer.php(106): WP_Installer->load_repositories_list() #1 /var/www/html/wordpress/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/includes/class-wp-installer.php(87): WP_Installer->__construct() #2 /var/www/html/wordpress/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/includes/functions-core.php(6): WP_Installer::instance() #3 /var/www/html/wordpress/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/installer.php(15): WP_Installer() #4 /var/www/html/wordpress/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/loader.php(228): include_once('...') #5 /var/www/html/wordpress/wp-includes/class-wp-hook.php(324): wpml_installer_instance_delegator() #6 /var/www/html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /var/www/html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /var/www/html/wordpress/wp-settings.php(621): do_action() #9 /var/www/html/wordpress/wp-config.php(98): require_once('...') #10 /var/www/html/wordpress/wp-load.php(50): require_once('...') #11 /var/www/html/wordpress/wp-admin/admin.php(34): require_once('...') #12 /var/www/html/wordpress/wp-admin/plugins.php(10): require_once('...') #13 {main} thrown in /var/www/html/wordpress/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/includes/class-wp-installer.php on line 886
Here are the server and wordpress features
== Server Environment ==
Operating System: Linux
Software: nginx/1.18.0
MySQL version: (Ubuntu) v8.0.35
PHP Version: 8.3.1
PHP Memory Limit: 256M
PHP Max Input Vars: 1000
PHP Max Post Size: 2000M
GD Installed: No
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected