Closed LupusVII closed 2 weeks ago
This file: src\EventListener\LoadDataContainerListener.php This line (43): System::log(vsprintf($GLOBALS['TL_LANG']['WEM']['OFFERS']['ERROR']['generic'], [$e->getMessage(), $e->getTrace()]), __METHOD__, 'WEM_OFFERS');
src\EventListener\LoadDataContainerListener.php
System::log(vsprintf($GLOBALS['TL_LANG']['WEM']['OFFERS']['ERROR']['generic'], [$e->getMessage(), $e->getTrace()]), __METHOD__, 'WEM_OFFERS');
Trigger the error below:
I do not understand the issue though, because the translations seems to exist. Maybe default.xlf file is not load in the Contao Manager context?
default.xlf
Fixed by https://github.com/Web-Ex-Machina/contao-offers/commit/59e422b4153cb20ec5f8586e4b493a09a3c72794
This file:
src\EventListener\LoadDataContainerListener.php
This line (43):System::log(vsprintf($GLOBALS['TL_LANG']['WEM']['OFFERS']['ERROR']['generic'], [$e->getMessage(), $e->getTrace()]), __METHOD__, 'WEM_OFFERS');
Trigger the error below: