Installed the module, activated it.
Went to edit a node, this error comes immediately ( Drupal 10.2, PHP 8.1.26 )

Fatal error: Declaration of Drupal\ld_json_schema\Plugin\metatag\Tag\JsonLdRaw::form(array $element = []) must be compatible with Drupal\metatag\Plugin\metatag\Tag\MetaNameBase::form(array $element = []): array in /home/httpd/vhosts/***/web/modules/contrib/ld_json_schema/src/Plugin/metatag/Tag/JsonLdRaw.php on line 30

Comments

DrupalDope created an issue. See original summary.

drupaldope’s picture

Issue summary: View changes
drupaldope’s picture

Issue summary: View changes
drupaldope’s picture

Issue summary: View changes
dallask’s picture

Assigned: Unassigned » dallask

I will provide the fix ASAP.

dallask’s picture

Assigned: dallask » Unassigned

Fixed in the release https://www.drupal.org/project/ld_json_schema/releases/3.0.2
Could you please test it?

dallask’s picture

Status: Needs work » Fixed
drupaldope’s picture

wow, that was fast !
thank you for the quick bugfix.
I confirm that the error is gone.

drupaldope’s picture

and thanks for this useful module !
it should be integrated into the schema metatag module.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.