menatwork / syncCto

Contao Extension :: Synchronize multiple contao installations with each other
https://packagist.org/packages/menatwork/synccto
25 stars 14 forks source link

error sync db in dev modus #309

Open frontendschlampe opened 3 years ago

frontendschlampe commented 3 years ago

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.

frontendschlampe commented 3 years ago

I have to deactivate dev modus for both websites (server and client) and the the error comes for syncTo and syncFrom

frontendschlampe commented 2 years ago

Any updates?