- Issue created by @revathi.b
- Status changed to Needs review
about 1 year ago 9:11am 11 January 2024 - 🇩🇪Germany sanduhrs 🇪🇺 Heidelberg, Germany, Europe
It's just deprecation notices, re-categorizing.
- Status changed to Needs work
7 months ago 2:50pm 18 July 2024 - 🇮🇹Italy kopeboy Milan
Unfortunately that's not enough.
I'm still getting 5 errors every time I save a node with a decorated link field (with a fresh Drupal 10.3.1):
(also please notice that the page is very slow to load)
Deprecated function: Return type of XML_XRD_PropertyAccess::offsetExists($type) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 30 of /var/www/html/vendor/pear/xml_xrd/src/XML/XRD/PropertyAccess.php).
Deprecated function: Return type of XML_XRD_PropertyAccess::offsetGet($type) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 30 of /var/www/html/vendor/pear/xml_xrd/src/XML/XRD/PropertyAccess.php).
Deprecated function: Return type of XML_XRD_PropertyAccess::offsetSet($type, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 30 of /var/www/html/vendor/pear/xml_xrd/src/XML/XRD/PropertyAccess.php).
Deprecated function: Return type of XML_XRD_PropertyAccess::offsetUnset($type) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 30 of /var/www/html/vendor/pear/xml_xrd/src/XML/XRD/PropertyAccess.php).
Deprecated function: Return type of XML_XRD::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 38 of /var/www/html/vendor/pear/xml_xrd/src/XML/XRD.php).
- 🇩🇪Germany sanduhrs 🇪🇺 Heidelberg, Germany, Europe
If you want this fixed, please support the upstream merge request: https://github.com/pear/XML_XRD/pull/2
- 🇮🇹Italy kopeboy Milan
I would expect the problem to go away after disabling the verification from the field formatter, but on every link field save the page takes ages to load and will again show the errors. Why is that? I even tried removing the verification checkbox on the modules settings for each social network, but the problem stayed. Should I open another issue?