Title: Again simplexml_load_file
Last modified: May 17, 2017

---

# Again simplexml_load_file

 *  [uteev](https://wordpress.org/support/users/uteev/)
 * (@uteev)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/again-simplexml_load_file/)
 * I have read the sticky post “Issue with Polylang since 2.x (malformed wpml-config.
   xml files)” however our problem seems a bit different.
 * Sometimes we got the following warnings on the page:
 * >  Warning: simplexml_load_file(): I/O warning : failed to load external entity“/
   > home/admin/web/88.99.83.44/public_html/wp-content/themes/lms/wpml-config.xml”
   > in /home/admin/web/88.99.83.44/public_html/wp-content/plugins/polylang/modules/
   > wpml/wpml-config.php on line 48 Warning: simplexml_load_file(): I/O warning:
   > failed to load external entity “/home/admin/web/88.99.83.44/public_html/wp-
   > content/plugins/paypal-for-woocommerce/wpml-config.xml” in /home/admin/web/
   > 88.99.83.44/public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.
   > php on line 63 Warning: simplexml_load_file(): I/O warning : failed to load
   > external entity “/home/admin/web/88.99.83.44/public_html/wp-content/plugins/
   > profile-builder/wpml-config.xml” in /home/admin/web/88.99.83.44/public_html/
   > wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 63 Warning:
   > simplexml_load_file(): I/O warning : failed to load external entity “/home/
   > admin/web/88.99.83.44/public_html/wp-content/plugins/woothemes-sensei/wpml-
   > config.xml” in /home/admin/web/88.99.83.44/public_html/wp-content/plugins/polylang/
   > modules/wpml/wpml-config.php on line 63 Warning: simplexml_load_file(): I/O
   > warning : failed to load external entity “/home/admin/web/88.99.83.44/public_html/
   > wp-content/plugins/wordpress-seo/wpml-config.xml” in /home/admin/web/88.99.83.44/
   > public_html/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line
   > 63
 * I checked with validator wpml-config.xml files and they seem to be ok. As I said
   problem occurs sometimes. Most of the time the there are no warnings. If there
   is a warning refreshing the page removes it.
 * I have checked wpml-config.php with var_dump($xml); on line 49. And it seems 
   that when there is no error it reads the file without problem. $xml contains 
   object.
 * WP_DEBUG is set to false.
 * Could you please help to understand what is the problem and how it can be solved?
   It is very strange that the problem does not appear constantly and can be seen
   only sometimes.
 * Your help is very appreciated!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/again-simplexml_load_file/#post-9140590)
 * Hi,
 * I don’t know all plugins. But I least the last one, wordpress-seo, has no error
   in its wpml-config.xml file. The error seems to occur on all files, so I would
   suggest to contact your host provider if he can check what’s wrong with this 
   function.

Viewing 1 replies (of 1 total)

The topic ‘Again simplexml_load_file’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

## Tags

 * [simplexml_load_file](https://wordpress.org/support/topic-tag/simplexml_load_file/)
 * [warnings](https://wordpress.org/support/topic-tag/warnings/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/again-simplexml_load_file/#post-9140590)
 * Status: not resolved