Skip to content

Error in Backend because of Patchwork\Utf8

Got an error in the backend when saving a content element or module for simple-map. I´m using Cntao 4.13 - i guess you could delete the package use Patchwork\Utf8 (because its possibly not installed anywhere) and correct the line where you create the wildcard name to $objTemplate->wildcard = '### '.$GLOBALS['TL_LANG']['CTE']['simple_map_view'][0].' ###';

I guess its not necessary anymore to upper the name of the wildcard because contao do this on its own.

Affected files:

  • src/Resources/contao/elements/ContentSimpleMap.php
  • src/Resources/contao/elements/ContentSimpleMapCategoryList.php
  • src/Resources/contao/modules/Frontend/ModuleSimpleMapCategoryList
  • src/Resources/contao/modules/Frontend/ModuleSimpleMapView
Edited by Jannik