This thread is resolved. Here is a description of the problem and solution.
Problem:
When activating WPML the following error message shows:
Fatal error: Uncaught Error: Call to undefined function simplexml_load_file()
Solution:
This is most probably happening because that the SimpleXML PHP extension is not activated on your server.
WPML's minimum requirement state that this extension must be enabled on the server of your site if you want to use WPML. You can see it in our minimum requirement page here.
https://wpml.org/home/minimum-requirements/
It is needed for using XLIFF files in WPML Translation Management.
http://php.net/manual/en/book.simplexml.php
In fact, the vast majority of hosting server's have this PHP extension enabled by default.
Please ask your hosting if the SimpleXML PHP extension is enabled on the server and if not ask them to enable it and then try to activate WPML.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 3 replies, has 2 voices.
Last updated by Itamar 2 years, 8 months ago.
Assigned support staff: Itamar.