Documentation page for class Details in Drupal 11 throws 5xx Server Error
When trying to access the API documentation page for the class \Drupal\Core\Render\Element\Details in the Drupal 11 branch, the page fails to load and returns a 5xx Server Error.
-
Bugged API page:
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21Element%21Details.php/class/Details/11.x
-
How to locate the broken link:
- Visit the class file documentation:
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21Element%21Details.php/11.x
- In the table that lists classes/functions (with columns like Title, Deprecated, Summary), click on the Details class link — it leads to the broken page above.
- Alternatively, go to the Drupal 10 page:
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!Element!Details.php/class/Details/10
There’s a link at the top that says:
You are browsing documentation for Drupal 10.3.x… Read the updated version of this page for Drupal 11.x (the latest version).
That link also points to the broken page.
- Visit the class file documentation:
-
Expected behavior:
The class documentation should load successfully for Drupal 11.x.
-
Actual behavior:
The page returns a 5xx Server Error.
-
Tested environment:
Verified in multiple browsers. The issue is persistent.