Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Class 'SimpleXMLElement' not found in accept-sample-app/getToken.php:24 #25

Closed
collinanderson opened this issue Mar 16, 2017 · 7 comments

Comments

@collinanderson
Copy link

Is there a required library that I need to install or something?

@brianmc
Copy link
Contributor

brianmc commented Mar 25, 2017

What version of PHP are you using?

@collinanderson
Copy link
Author

7.0 (Ubuntu 16.04)

@brianmc
Copy link
Contributor

brianmc commented Mar 27, 2017

You may need to install simplexml on ubuntu http://stackoverflow.com/questions/35593521/php-7-simplexml

@collinanderson
Copy link
Author

Yeah, I eventually figured out I need to sudo apt install php-xml, but you might want to document that somewhere.

@the94air
Copy link

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 added a commit that referenced this issue Nov 6, 2018
Updated README.md file for issue #25
@gnongsie
Copy link
Contributor

gnongsie commented Nov 6, 2018

Issue has been documented in the README.md with a suggested fix. Based on that, I'll be closing this issue for now.

@gnongsie gnongsie closed this as completed Nov 6, 2018
@eramudeep
Copy link

i am already having the php-xml
still getting the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants