-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fatal error in WordPress 4.6 #5
Comments
Thanks for the heads-up on this @stewarty, sounds like I need to do some 4.6 testing! Could you point me to where in the code the conflicting classes are? Is this something in this repo, or one of the dependencies I'm using? (like AltoRouter) |
It's in your dependencies. rmmcue/requests Is it actually being used? The Resquest_Response class is conflicting! Sent from my iPhone
|
Hi @stewarty, I'm sorry but I'm not able to find |
Gottya - its actually in wp-cli https://github.com/wp-cli/wp-cli/blob/master/composer.json#L17 |
I will crush them. |
WordPress 4.6 now includes Ryan McCue's Requests Library.
When using Routes it is possible to get a Fatal Error as you are also including this Library but in an older version it would seem? Anyway, The
Request_Response
Classes aren't the same. Yours is getting used in preference to the included one. This causes theis_redirect()
method to be reported as missing and WP has a fatal crash.Fix in the meantime is to just delete the Requests Folder in vendor
The text was updated successfully, but these errors were encountered: