Title: Fatal error: Uncaught Error: Call to undefined function simplexml
Last modified: September 19, 2016

---

# Fatal error: Uncaught Error: Call to undefined function simplexml

 *  Resolved [csstec](https://wordpress.org/support/users/csstec/)
 * (@csstec)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-function-simplexml/)
 * Hello WordPress experts
    I am a starter in the wordpress plugin and i am using
   Type for custom post type. Trying to run the Types plugin in the PHP7 enviornment
   and its crashing to whitepage with lot of errors. Tried contacting the paid version
   support(already have) but for the past one year i can see no development on the
   php 7 support updates (Hope i don’t miss any updates) . I am using the latest
   version and i am getting the following error when the debug on
 * Fatal error: Uncaught Error: Call to undefined function simplexml_load_file()
   in plugins/types/library/otgs/installer/includes/installer.class.php:652 Stack
   trace: #0 plugins/types/library/otgs/installer/includes/installer.class.php(66):
   WP_Installer->load_repositories_list() #1 plugins/types/library/otgs/installer/
   includes/installer.class.php(37): WP_Installer->__construct() #2 plugins/types/
   library/otgs/installer/installer.php(7): WP_Installer::instance() #3 plugins/
   types/library/otgs/installer/installer.php(11): WP_Installer() #4 plugins/types/
   library/otgs/installer/loader.php(120): include_once(‘/var/sites/home…’) #5 plugin.
   php(524): wpml_installer_instance_delegator(”) #6 /wp-settings.php(395): do_action(‘
   after_setup_the…’) #7 /wp-config.php(73): requi in plugins/types/library/otgs/
   installer/includes/installer.class.php on line 652
 * Is any one from the community success in running this plugin in PHP 7 environment?,
   i tried it and performance is great but wp-admin or any Types supported pages
   wont work.
    Hope i have given the enough detail if i missed any kindly let me
   know.

Viewing 1 replies (of 1 total)

 *  Thread Starter [csstec](https://wordpress.org/support/users/csstec/)
 * (@csstec)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-function-simplexml/#post-8200455)
 * Thank you toolset team for the support.
    The php7.0-xml was not installed in 
   server so that was the reason it was crashing.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: Uncaught Error: Call to undefined function simplexml’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [csstec](https://wordpress.org/support/users/csstec/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-function-simplexml/#post-8200455)
 * Status: resolved