Error: Call to undefined method Drupal\node\Entity\Node::getBook()
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3585906. --> Reported by: [lieb](https://www.drupal.org/user/401559) Related to !174 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>After installing Drupal core 11.3.8</p> <pre>Error: Call to undefined method Drupal\node\Entity\Node::getBook() in Drupal\book\Plugin\Condition\Book-&gt;evaluate() (line 120 of /web/liebdev/web/modules/contrib/book/src/Plugin/Condition/Book.php).</pre><p> The site is broken. Cannot load any page.<br> I sidestepped the problem by comment lines 120-124 in /book/src/Plugin/Condition/Book.php</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>This happened after the update to core 11.3.8. It was working fine in 11.3.7<br> I have another site with Book 2.0.4 and the 11.3.8 update did not break that one.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <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 #3586802](https://www.drupal.org/node/3586802)
issue