I'm getting a 500 Internal Server Error, when I open '/admin/reports/status/opcache' as this path is set for both of the routes.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | two_routes_with_the-2913569-3.patch | 389 bytes | edurenye |
| #2 | two_routes_with_the-2913569-2.patch | 388 bytes | edurenye |
Comments
Comment #2
edurenye commentedDone. We can use '/admin/reports/status/opcache/state' for the JSON result.
Comment #3
edurenye commentedSorry, I missed a quote.
Comment #4
cyberwolf commentedHi Eduard,
Strange that I didn't notice this myself. Could it be that this only occurs in a certain configuration? Maybe the Drupal version / Symfony version is significant? When I turn on the realtime updates on the Drupal 8.3.7 setup I am testing on, the UI makes requests to /admin/reports/status/opcache?_format=json&_sometimestamp which correctly returns back the expected JSON response.
Comment #5
edurenye commentedI'm using d8.4-rc2 and I tried both on php 5.5.38 where after my patch aplied I still receive a 500 Internal Server Error, I'll have to check why because there is nothing in the logs. And I tried also on php 7.0.22 where my patch fixes it.