Problem/Motivation
I am encountering the following PHP warnings when using the json_ld_schema_ui module:
Warning: Undefined property: stdClass::$rdfs:comment in Drupal\json_ld_schema_ui\Schemaorg\GraphNode\GraphNodeBase::fromElement() (line 53 of modules/contrib/json_ld_schema_ui/src/Schemaorg/GraphNode/GraphNodeBase.php).
Warning: Undefined property: stdClass::$rdfs:label in Drupal\json_ld_schema_ui\Schemaorg\GraphNode\GraphNodeBase::fromElement() (line 52 of modules/contrib/json_ld_schema_ui/src/Schemaorg/GraphNode/GraphNodeBase.php).
Steps to reproduce
Enable the json_ld_schema_ui module.
Navigate to the Schema.org UI (exact page depends on configuration).
The warnings appear during rendering.
PHP 8.3.27
Issue fork json_ld_schema_ui-3567884
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
anna d commentedComment #5
gxleano commentedComment #7
gxleano commented