Warning: Trying to access array offset on value of type bool in Drupal\schemadotorg\SchemaDotOrgSchemaTypeManager->hasProperty() - line 666

Created on 18 May 2023, over 1 year ago

Problem/Motivation

Dear Jacob greetings .
I have add a subtype with the allowed value " Contributor|contributor" to a person schema taxonomy.
now on the my node type article I have a field author (person taxonomy reference)
I got this warning when I have the node after selecting persons
here below the stack trace

Warning: Trying to access array offset on value of type bool in Drupal\schemadotorg\SchemaDotOrgSchemaTypeManager->hasProperty() (line 666 of modules/contrib/schemadotorg/src/SchemaDotOrgSchemaTypeManager.php).
Drupal\schemadotorg\SchemaDotOrgSchemaTypeManager->hasProperty('Contributor', 'position') (Line: 248)
Drupal\schemadotorg_jsonld\SchemaDotOrgJsonLdBuilder->buildMappedEntity(Object, Array) (Line: 152)
Drupal\schemadotorg_jsonld\SchemaDotOrgJsonLdBuilder->buildEntity(Object) (Line: 117)
Drupal\schemadotorg_jsonld\SchemaDotOrgJsonLdBuilder->build() (Line: 39)
schemadotorg_jsonld_page_attachments_alter(Array, NULL, NULL) (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter('page_attachments', Array) (Line: 323)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks(Array) (Line: 289)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 290)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024