Closed (fixed)
Project:
LD JSON Schema
Version:
3.0.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2023 at 08:23 UTC
Updated:
12 Jan 2024 at 13:04 UTC
Jump to comment: Most recent
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
Comment #2
drupaldope commentedComment #3
drupaldope commentedComment #4
drupaldope commentedComment #5
dallask commentedI will provide the fix ASAP.
Comment #6
dallask commentedFixed in the release https://www.drupal.org/project/ld_json_schema/releases/3.0.2
Could you please test it?
Comment #7
dallask commentedComment #8
drupaldope commentedwow, that was fast !
thank you for the quick bugfix.
I confirm that the error is gone.
Comment #9
drupaldope commentedand thanks for this useful module !
it should be integrated into the schema metatag module.