- πΊπΈUnited States agentrickard Georgia (US)
When working with forum comments at least, we get this error:
TypeError: Drupal\forum\ForumIndexStorage::updateIndex(): Argument #1 ($node) must be of type Drupal\node\NodeInterface, null given, called in /var/www/html/web/core/modules/forum/forum.module on line 287 in /var/www/html/web/core/modules/forum/src/ForumIndexStorage.php on line 93 #0 /var/www/html/web/core/modules/forum/forum.module(287): Drupal\forum\ForumIndexStorage->updateIndex(NULL)
That suggests that the entity_id mapping isn't loading properly.
- π¨πSwitzerland berdir Switzerland
What that probably means is that the reference is there, but not tracked as a dependency, so default_content doesn't know that it needs to create the node before the comments.