Hello everyone. I would not say that this is a direct problem, but I am faced with the fact that if you do not specify the machine name of the view, an error will appear.
Call to a member function initDisplay() on null in Drupal\schema_metatag\Plugin\schema_metatag\PropertyType\ItemListElement->getItems() (line 133 of modules/contrib/schema_metatag/src/Plugin/schema_metatag/PropertyType/ItemListElement.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | scheme_metatag-initdisplaynull-34099784.patch | 652 bytes | pavelgerasuta |
| error.png | 170.6 KB | pavelgerasuta |
Issue fork schema_metatag-3409784
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 #2
pavelgerasuta commentedI suggest using the patch so that if the machine name is not specified, it will be taken from \Drupal::request().
Comment #6
abhishek_gupta1 commented@wells, fixed the issue and created MR corresponding above issue, please kindly review the MR.
Comment #7
pearls commentedmr46 solved the following issue.
Tested versions:
Schema Metatag: 3.0.3
Drupal: 11.2.3
Comment #9
thejimbirch commentedStarted the merge train, thanks!
Comment #11
thejimbirch commentedComment #13
damienmckennaComment #14
damienmckenna