We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the GraphQL API the retour edge produces an internal server error.
query Redirect($uri: String) { retour(uri: $uri) { redirectDestUrl } }
with query variables:
{ "uri": "test" }
{ "errors": [ { "debugMessage": "Typed static property nystudio107\\retour\\Retour::$currentException must not be accessed before initialization", "message": "Internal server error", "extensions": { "category": "internal" }, "file": "/app/backend/vendor/nystudio107/craft-retour/src/services/Statistics.php", "line": 168,
Should return redirectDestUrl if matched with an existing redirect or an empty array
The text was updated successfully, but these errors were encountered:
fix: Fixed a "must not be accessed before initialization" error that …
86d4236
…could occur using GraphQL ([#238](#238))
Addressed in: 86d4236
You can try it now by setting your semver in your composer.json to look like this:
composer.json
"nystudio107/craft-retour": "dev-develop-v4 as 4.0.1”,
Then do a composer clear-cache && composer update
composer clear-cache && composer update
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using the GraphQL API the retour edge produces an internal server error.
To reproduce
with query variables:
Expected behaviour
Should return redirectDestUrl if matched with an existing redirect or an empty array
Screenshots
Versions
The text was updated successfully, but these errors were encountered: