Critical PHP recursion error when trying to load DatabaseSchema_sqlite
Migrated issue
Reported by: jhodgdon
On both my test site and api.drupal.org, if you try to visit the page that displays the DatabaseSchema_sqlite class page, it crashes.
I have "somewhat" more debugging information on my test site than on api.drupal.org, so I'm able to tell what is happening: for some reason, when rendering the list of properties, it's loading the object for the DatabaseSchema::defaultSchema property over and over and over again.
It's coming from this section of api_object_load():
// Grab documentation from documented parent.
if (!empty($result_object->documented_did) && $result_object->documented_did !== $result_object->did) {
$documented_object = api_object_load((int) $result_object->documented_did, $branch, $object_type);