Title: simplexml_load_file() Undefined
Last modified: August 24, 2016

---

# simplexml_load_file() Undefined

 *  Resolved [mchavezi](https://wordpress.org/support/users/mchavezi/)
 * (@mchavezi)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/simplexml_load_file-undefined/)
 * I am getting this error on my LEMP stack on Fedora 21 instance. Not getting it
   on LEMP stack on Ubuntu or on my localhost MAMP.
 * Tried installing php-simplexml:
    sudo yum install php-simplexml but still have
   this error:
 * Fatal error: Call to undefined function simplexml_load_file() in /srv/www/domainname/
   public_html/wordpress/wp-content/plugins/types/plus/installer/includes/installer.
   class.php on line 423
 * Anybody have any ideas how to fix?
 * Cheers,
    Mike
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [mchavezi](https://wordpress.org/support/users/mchavezi/)
 * (@mchavezi)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/simplexml_load_file-undefined/#post-5980040)
 * Solved by adding:
    extension=simplexml.so
 * in php.ini file.
 * Hope this helps someone who runs into to same problem:)
 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/simplexml_load_file-undefined/#post-5980110)
 * Dear mchavezi
 * I add in next release check for this library.
 * Thank you for pointing this.
 * Marcin
 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/simplexml_load_file-undefined/#post-5980258)
 * Dear mchavezi
 * I check it. This issue is very rare and strange.
 * > This extension is enabled by default since PHP 5.1.2
 *  see more: [http://php.net/manual/en/simplexml.installation.php](http://php.net/manual/en/simplexml.installation.php)
 * Cheers,
    Marcin

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘simplexml_load_file() Undefined’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/simplexml_load_file-undefined/#post-5980258)
 * Status: resolved