Closed larssn closed 4 years ago
Perhaps there is a misspelled variable or something that isn't declared at the time the for each has been triggered?
Without diving into the code, I'd say the response it parses over, probably has changed in the recent versions of WP-RESTv2.
I get a proper response using a test tool such as Postman.
I was going to say, perhaps running through a proper debugger within PHP Storm or some other form of IDE with that ability could be useful.
I've had a look around and there seems to be a few instances of this error in newer versions of WordPress plugins and what not.
I'll try running it through phpstorm if I have time, but I ended up using PECL OAuth instead.
This happens when I try to discover pretty much anything.
Vanilla install using composer.