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.
drupal 8.0.2
XML sitemap 8.x-1.x-dev 2016-Feb-02
User error: Invalid placeholder (!messages) in string: One or more problems were detected with your XML sitemap configuration: !messages in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of core/lib/Drupal/Component/Render/FormattableMarkup.php).
Error: Using $this when not in object context в _xmlsitemap_get_blurb() (строка 2267 файла /home/motokal1/public_html/modules/xmlsitemap/xmlsitemap.module).
after entering the configuration sitemap...
Comment | File | Size | Author |
---|---|---|---|
#4 | xmlsitemap-missing_class-2662016-1-8.0.4.patch | 1.76 KB | toelli |
2.jpg | 53.57 KB | fomenkoandrey | |
1.jpg | 120.59 KB | fomenkoandrey |
Comments
Comment #2
fomenkoandrey CreditAttribution: fomenkoandrey commentedComment #3
toelli CreditAttribution: toelli commentedI just installed xml sitemap on latest core version and i got this problem to.
Comment #4
toelli CreditAttribution: toelli commentedThis patch i made seem to fix the problem
Comment #5
fomenkoandrey CreditAttribution: fomenkoandrey commentedyep, this erros fixed, but sitemap still doesnt work.
now i see error:
Comment #6
acrosmanThe patch from #4 works against the current dev release on 8.0.6. I'm not seeing the second error message reported in #5 above.
Comment #7
acrosmanLooks like this patch has been folded into the current patch for: #2479629: Generating sitemap of entities doesn't work
Comment #8
amateescu CreditAttribution: amateescu for Chapter Three commentedDuplicate of #2505903: Fatal error when enabling the base XML SiteMap module.