Closed jaynoe closed 3 months ago
If i change the row 88 in the listener to
$varValue = System::getContainer()->get('contao.slug')->generate((string) $dc->activeRecord->title, (int) $dc->id, $aliasExists);
the error is fixed
@jaynoe using $dc->id
is wrong - see #107.
Prerequisites
Please select the topic(s) that most closely match your concern
Backend (PHP/CSS)
Description
When trying to add a new css class to an element, an error in the dca listener "StyleManagerListener.php" occurs. I´m using Contao 5.3 LTS
Error message
Relevant log output