I am trying to: Install types 3.4.7 on a server running wordpresss 5.7 and PHP 7.4.3
Link to a page where the issue can be seen: N/A
I expected to see: N/A
Instead, I got:
I recently migrated my site to a new server, then upgraded WordPress to 5.7. On the old server this site was using Types version 1.8. I did not include this old version of types in the migration because it is not compatible with WordPress 5.7 or PHP 7.4.3.
I downloaded Types 3.4.7 and attempted to install that. As soon as I click "activate" on Types I get this error: There has been a critical error on this website. Please check your site admin email inbox for instructions.
There are tables in my wordpres database that were created when Types version 1.8 was installed on the OLD server (see attached). I am not sure if this would be the cause of the critical error above. Please advise.
Thank you, I made that change, then got the error below when I click activate.
Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in /var/www/sus.org/wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php:887 Stack trace: #0 /var/www/sus.org/wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php(93): WP_Installer->load_repositories_list() #1 /var/www/sus.org/wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php(74): WP_Installer->__construct() #2 /var/www/sus.org/wp-content/plugins/types/vendor/otgs/installer/includes/functions-core.php(6): WP_Installer::instance() #3 /var/www/sus.org/wp-content/plugins/types/vendor/otgs/installer/installer.php(15): WP_Installer() #4 /var/www/sus.org/wp-content/plugins/types/vendor/otgs/installer/loader.php(166): include_once('/var/www/sus.or...') #5 /var/www/sus.org/wp-includes/class-wp-hook.php(292): wpml_installer_instance_delegator() #6 /var/www/sus.org/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #7 /var/www/sus.org/wp-includes/plugin.php(484): WP in /var/www/sus.org/wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php on line 887
There has been a critical error on this website. Please check your site admin email inbox for instructions.
It would appear based on this error that the SimpleXML module is not enabled or isn't installed
What I would recommend is getting in touch with your host and ask them to enable this for you.
Having this module enabled should resolve the fatal error issue.