beyondcode / invoker-community

74 stars 2 forks source link

Again the undefined method Doctrine\DBAL\Connection::createSchemaManager() message #350

Closed domthomas-dev closed 1 year ago

domthomas-dev commented 1 year ago

Hi I want to use invoker to my ssh project. I see different issue about this, but I tried every "solution" without effect :


OS: darwin Invoker Version: 2.13.0 Laravel Version: 10.6.2 Local project: unknown PHP Binary: /usr/local/bin/php Route: /project/index?class=App%5CModels%5CActivity&time=1691747584746&project=remote-4orbhbjUSF8vMYjVwvgU8t

Error:

Error 

  Call to undefined method Doctrine\DBAL\Connection::createSchemaManager()

  at pim-prod.arstime.tech/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1145
    1141▕     public function getDoctrineSchemaManager()
    1142▕     {
    1143▕         $connection = $this->getDoctrineConnection();
    1144▕ 
  ➜ 1145▕         return $connection->createSchemaManager();
    1146▕     }
    1147▕ 
    1148▕     /**
    1149▕      * Get the Doctrine DBAL database connection instance.

  1   phar:///tmp/forge_10_invoker.phar/src/Factories/AttributeCollection.php:25
      Illuminate\Database\Connection::getDoctrineSchemaManager()

  2   phar:///tmp/forge_10_invoker.phar/src/Factories/AttributeCollection.php:15
      _HumbugBox0aaa99c27ffd\Invoker\Factories\AttributeCollection::getColumns()
mechelon commented 1 year ago

Duplicate of #342