Skip to content

error sync db in dev modus #309

@frontendschlampe

Description

@frontendschlampe
  • Contao 4.9.12
  • PHP 7.4
  • dev-modus on
  • syncCto 4.0.5
  • syncCtoPro 2.0.5

If I want to sync the db with activated Contao dev modus there's an error thrown in db overlay:

ErrorException:
Warning: array_merge(): Expected parameter 1 to be an array, null given

  at vendor/menatwork/synccto/src/Resources/contao/templates/be_syncCto_database.html5:76
  at include('/***/www/vendor/menatwork/synccto/src/Resources/contao/templates/be_syncCto_database.html5')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:100)
  at Contao\Template->inherit()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:292)
  at Contao\Template->parse()
     (vendor/contao/core-bundle/src/Resources/contao/classes/BackendTemplate.php:34)
  at Contao\BackendTemplate->parse()
     (vendor/menatwork/synccto/src/Controller/DatabasePopupController.php:149)
  at MenAtWork\SyncCto\Controller\DatabasePopupController->getResponse()
     (vendor/menatwork/synccto/src/Controller/DatabasePopupController.php:107)
  at MenAtWork\SyncCto\Controller\DatabasePopupController->runAction()
     (vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/index.php:31)

If I deactivate the dev modus it works.

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