In function "Drupal\simplesitemap\LinkGenerators\EntityLinkGenerator::get_entity_links()", you cannot override the variable $links because it overrides processed content type previously.
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 commentedComment #4
gbyteHi, 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!