Ok.. hier:
Code:
UndefinedMethodError
Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "ampersand" of class "Contao\StringUtil".
at vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Backend/Product/Panel.php:45
at Isotope\Backend\Product\Panel::generateFilterButtons()
(vendor/contao/core-bundle/src/Resources/contao/classes/DataContainer.php:1168)
at Contao\DataContainer->panel()
(vendor/isotope/isotope-core/system/modules/isotope/drivers/DC_ProductData.php:173)
at DC_ProductData->showAll()
(vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:644)
at Contao\Backend->getBackendModule()
(vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:167)
at Contao\BackendMain->run()
(vendor/contao/core-bundle/src/Controller/BackendController.php:48)
at Contao\CoreBundle\Controller\BackendController->mainAction()
(vendor/symfony/http-kernel/HttpKernel.php:158)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle()
(web/index.php:31)
Code:
Kernel->handle() in web/index.php (line 31)
$loader = require __DIR__.'/../vendor/autoload.php';
$request = Request::createFromGlobals();
$kernel = ContaoKernel::fromRequest(\dirname(__DIR__), $request);
$response = $kernel->handle($request);
$response->send();
if ($kernel instanceof TerminableInterface) {
$kernel->terminate($request, $response);
}
Code:
$arrCallback = $GLOBALS['TL_DCA'][$this->strTable]['list']['sorting']['panel_callback'][$strSubPanel];
if (\is_array($arrCallback))
{
$this->import($arrCallback[0]);
$panel = $this->{$arrCallback[0]}->{$arrCallback[1]}($this);
}
elseif (\is_callable($arrCallback))
{
$panel = $arrCallback($this);
}
$buttons = [];
// Check if user can manage groups
if ($user->isAdmin || (\is_array($user->iso_groups) && 0 !== \count($user->iso_groups))) {
$buttons[] = '
<a href="' . StringUtil::ampersand(System::getContainer()->get('contao.picker.builder')->getUrl('dc.tl_iso_group', ['fieldType' => 'radio'])) . '" class="tl_submit'.(!empty($session['iso_products_gid']) ? ' active' : '').'" id="groupFilter">' . $GLOBALS['TL_LANG']['MSC']['filterByGroups'] . '</a>
<script>
document.getElementById("groupFilter").addEventListener("click", function(e) {
e.preventDefault();
Backend.openModalSelector({
id: "tl_listing",
Lesezeichen