Skip to content

Error after cache warmup: [] operator not supported for strings #107

@rustykowski

Description

@rustykowski

Contao 4.13.49
contao-events_subscriptions 2.16.4

Exception in file var/cache/prod/contao/dca/tl_member.php on line 224[] operator not supported for strings

The content of line 224 is:
$GLOBALS['TL_DCA']['tl_member']['palettes']['__selector__'][] = 'subscription_enableLimit';

stacktrace:

#0 vendor/contao/core-bundle/src/Resources/contao/library/Contao/DcaLoader.php(105): include()
#1 vendor/contao/core-bundle/src/Resources/contao/library/Contao/DcaLoader.php(75): Contao\DcaLoader->loadDcaFiles(false)
#2 vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php(1454): Contao\DcaLoader->load()
#3 vendor/contao/core-bundle/src/Migration/Version413/BooleanFieldsMigration.php(89): Contao\Controller::loadDataContainer('tl_member')
#4 vendor/contao/core-bundle/src/Migration/Version413/BooleanFieldsMigration.php(44): Contao\CoreBundle\Migration\Version413\BooleanFieldsMigration->getTargets()
#5 vendor/contao/core-bundle/src/Migration/MigrationCollection.php(47): Contao\CoreBundle\Migration\Version413\BooleanFieldsMigration->shouldRun()
#6 vendor/contao/core-bundle/src/Migration/MigrationCollection.php(58): Contao\CoreBundle\Migration\MigrationCollection->getPending()
#7 vendor/contao/core-bundle/src/Command/MigrateCommand.php(262): Contao\CoreBundle\Migration\MigrationCollection->getPendingNames()
#8 vendor/contao/core-bundle/src/Command/MigrateCommand.php(209): Contao\CoreBundle\Command\MigrateCommand->executeMigrations(true, true, NULL)
#9 vendor/contao/core-bundle/src/Command/MigrateCommand.php(109): Contao\CoreBundle\Command\MigrateCommand->executeCommand(Object(Symfony\Component\Console\Input\ArgvInput))
#10 vendor/symfony/console/Command/Command.php(298): Contao\CoreBundle\Command\MigrateCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 vendor/symfony/console/Application.php(1058): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 vendor/symfony/framework-bundle/Console/Application.php(96): Symfony\Component\Console\Application->doRunCommand(Object(Contao\CoreBundle\Command\MigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 vendor/symfony/console/Application.php(301): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Contao\CoreBundle\Command\MigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 vendor/symfony/framework-bundle/Console/Application.php(82): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 vendor/contao/manager-bundle/bin/contao-console(38): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#17 {main}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions