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).

1

after entering the configuration sitemap...

2

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fomenkoandrey created an issue. See original summary.

fomenkoandrey’s picture

Issue summary: View changes
toelli’s picture

I just installed xml sitemap on latest core version and i got this problem to.

toelli’s picture

This patch i made seem to fix the problem

fomenkoandrey’s picture

yep, this erros fixed, but sitemap still doesnt work.
now i see error:

Сообщение об ошибке
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).

acrosman’s picture

The 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.

acrosman’s picture

Looks like this patch has been folded into the current patch for: #2479629: Generating sitemap of entities doesn't work

amateescu’s picture

Status: Active » Closed (duplicate)