Empty `wpml-config.xml` produces PHP Warning of simplexml_load_file
-
Hi!
Firstly thank you for your time, while developing this great plugin!I’m using current version (1.6.1) of your plugin in conjunction with Polylang PRO plugin (2.5.4). Your empty
wpml-config.xml
file in the root of the plugin causes/produces PHP Warnings (on page load, even in the administration).When empty file
wpml-config.xml
is deleted from the root of your plugin folder – All warnings dissappears.So, that file should be deleted when it’s actually not in use.
Or, at least, make that file XML well-formed/compatible – to be simplexml_load_file function/module able to successfully load the file.Regards,
WingerWarning messages are supplied bellow:
`
Warning: simplexml_load_file(): /var/www/project_directory/wp-content/plugins/yith-woocommerce-affiliates/wpml-config.xml:1: parser error : Document is empty in /var/www/project_directory/wp-content/plugins/polylang-pro/modules/wpml/wpml-config.php on line 53Warning: simplexml_load_file(): in /var/www/project_directory/wp-content/plugins/polylang-pro/modules/wpml/wpml-config.php on line 53
Warning: simplexml_load_file(): ^ in /var/www/project_directory/wp-content/plugins/polylang-pro/modules/wpml/wpml-config.php on line 53
`
- The topic ‘Empty `wpml-config.xml` produces PHP Warning of simplexml_load_file’ is closed to new replies.