You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution A for users:
Add $GLOBALS['TL_LANG']['MSC']['deleteConfirm'] = 'Löschen bestätigen'; in contao-4.13/system/config/langconfig.php
Solution B for extension developer:
Change contao-4.13/vendor/respinar/contao-owlcarousel/src/dca/tl_owlcarousel.php, line 83 from 'attributes' => 'onclick="if(!confirm(\'' . $GLOBALS['TL_LANG']['MSC']['deleteConfirm'] . '\'))return false;Backend.getScrollOffset()"'
to 'attributes' => 'onclick="if(!confirm(\'' . ($GLOBALS['TL_LANG']['MSC']['deleteConfirm'] ?? null) . '\'))return false;Backend.getScrollOffset()"'
Same in contao-4.13/vendor/respinar/contao-owlcarousel/src/dca/tl_owlcarousel_slide.php, line 87
Setting the global debug mode is possible again …
The text was updated successfully, but these errors were encountered:
CRITICAL [console] Error thrown while running command "contao:migrate --no-interaction -v --env=dev".
Message: "Warning: Undefined array key
deleteConfirm
" ["exception" => ErrorException { …},"command" => "contao:migrate --no-interaction -v --env=dev","message" => "Warning: Undefined array keydeleteConfirm
"]In tl_owlcarousel.php line 83:
[ErrorException]
Warning: Undefined array key "deleteConfirm"
Solution A for users:
Add
$GLOBALS['TL_LANG']['MSC']['deleteConfirm'] = 'Löschen bestätigen';
in contao-4.13/system/config/langconfig.phpSolution B for extension developer:
Change contao-4.13/vendor/respinar/contao-owlcarousel/src/dca/tl_owlcarousel.php, line 83 from
'attributes' => 'onclick="if(!confirm(\'' . $GLOBALS['TL_LANG']['MSC']['deleteConfirm'] . '\'))return false;Backend.getScrollOffset()"'
to
'attributes' => 'onclick="if(!confirm(\'' . ($GLOBALS['TL_LANG']['MSC']['deleteConfirm'] ?? null) . '\'))return false;Backend.getScrollOffset()"'
Same in contao-4.13/vendor/respinar/contao-owlcarousel/src/dca/tl_owlcarousel_slide.php, line 87
Setting the global debug mode is possible again …
The text was updated successfully, but these errors were encountered: