Fatal error on child pages
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3551526. -->
Reported by: [smustgrave](https://www.drupal.org/user/3252890)
Related to !118
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>There's a fatal error when viewing a child page</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Create a book<br>
Configure content type with child types<br>
Add a child page<br>
See fatal error</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>If it's a child page it shouldn't render the "Add child page" link</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Fix<br>
Add test coverage (expand existing one?)</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
> Related issue: [Issue #3551571](https://www.drupal.org/node/3551571)
issue