I had a fright after installing a new plugin into WordPress via the normal (inside WordPress) procedure… a ‘500’ error in every part of the web server that WordPress touched.
I did some searching and the fix was easy… log into the web server file structure and delete the offending folder under ../wp-content/plugins/. The server came back up immediately and wp-admin worked once again. Naturally, the admin interface noticed that the deleted folder was gone and removed the plugin from the installed plugins list.
Since I’ve been struggling quite some time with this, I thought I would post this and hopefully speed a frustrated searcher along to their next coding conundrum.
Given the following:
1. A web server that supports PHP, and the dangerous knowledge to use the same.
2. The Steam Web API, and a current and valid API key to query it.
3. A valid Steam Community ID (mine is 76561197979917193 and is used below).
What PHP code can you use to get the Steam Web API to respond with valid JSON and display that on a web page? Note that the example below is sanitized to mask my actual API key. Use the link above and get your own!
Which results in:
TO BE POSTED SOON