Uncaught Error: Class 'SimpleXMLElement' not found in accept-sample-app/getToken.php:24
collinanderson opened this issue · 7 comments
collinanderson commented
Is there a required library that I need to install or something?
brianmc commented
What version of PHP are you using?
collinanderson commented
7.0 (Ubuntu 16.04)
brianmc commented
You may need to install simplexml on ubuntu http://stackoverflow.com/questions/35593521/php-7-simplexml
collinanderson commented
Yeah, I eventually figured out I need to sudo apt install php-xml
, but you might want to document that somewhere.
the94air commented
That is totally true. I was struggling for hours because of this. You can make our life easier by putting a warning or someting in the documentation, please. Thank you.
gnongsie commented
Issue has been documented in the README.md with a suggested fix. Based on that, I'll be closing this issue for now.
eramudeep commented
i am already having the php-xml
still getting the error