markocupic / calendar-event-booking-bundle

Contao 4 Extension
13 stars 8 forks source link

Error Contao Install - undefined method named "createSchemaManager #51

Closed ufeldmann closed 1 year ago

ufeldmann commented 1 year ago

An error occurs in the Contao Install Tool.

Attempted to call an undefined method named "createSchemaManager" of class "Doctrine\DBAL\Connection". Did you mean to call "getSchemaManager"?

Contao: 4.9.36 Bundle version: 5.2.13

Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "createSchemaManager" of class "Doctrine\DBAL\Connection".
Did you mean to call "getSchemaManager"?

  at vendor/markocupic/calendar-event-booking-bundle/src/Migration/AutogenerateBookingForm.php:45
  at Markocupic\CalendarEventBookingBundle\Migration\AutogenerateBookingForm->shouldRun()
     (vendor/contao/core-bundle/src/Migration/MigrationCollection.php:36)
  at Contao\CoreBundle\Migration\MigrationCollection->getPending()
     (vendor/contao/core-bundle/src/Migration/MigrationCollection.php:57)
  at Contao\CoreBundle\Migration\MigrationCollection->run()
     (vendor/contao/installation-bundle/src/InstallTool.php:471)
  at Contao\InstallationBundle\InstallTool->runMigrations()
     (vendor/contao/installation-bundle/src/Controller/InstallationController.php:368)
  at Contao\InstallationBundle\Controller\InstallationController->runDatabaseUpdates()
     (vendor/contao/installation-bundle/src/Controller/InstallationController.php:100)
  at Contao\InstallationBundle\Controller\InstallationController->installAction()
     (vendor/symfony/http-kernel/HttpKernel.php:169)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:81)
  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)
  at require('/usr/www/users/xxx/web/index.php')
     (web/app.php:4)  
markocupic commented 1 year ago

Please update to 5.2.14

ufeldmann commented 1 year ago

Works. Thx.