Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In function "Drupal\simplesitemap\LinkGenerators\EntityLinkGenerator::get_entity_links()", you cannot override the variable $links because it overrides processed content type previously.
Comments
Comment #2
victorcpereira CreditAttribution: victorcpereira commentedComment #4
gbyte CreditAttribution: gbyte as a volunteer and commentedHi, the problem was not overriding the variable, as it gets saved as object property. The problem was the += operator which apparently doesn't work with arrays as I would expect. Fixed in dev and stable release created.
Thanks for catching the bug!