• 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

    (@chouby)

    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.