What happened?
Description
I ran across this when attaching a behavior to our entries.
Event::on(
Entry::class,
Entry::EVENT_DEFINE_BEHAVIORS,
function(DefineBehaviorsEvent $e) {
if ($e->sender->getType()->handle === 'questionType') {
$e->behaviors['questionTypeStats'] = QuestionTypeBehavior::class;
}
}
);
For nested matrix entries this seems to throw the error
Invalid Configuration – yii\base\InvalidConfigException
Either sectionId or fieldId + ownerId must be set on the entry.
These entries have a fieldId + primaryOwnerId, but no ownerId.

Craft CMS version
5.5.3
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
I ran across this when attaching a behavior to our entries.
For nested matrix entries this seems to throw the error
These entries have a
fieldId+primaryOwnerId, but noownerId.Craft CMS version
5.5.3
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions