invoker-community icon indicating copy to clipboard operation
invoker-community copied to clipboard

Unknown database type geometry requested,

Open sahamilton opened this issue 1 year ago • 1 comments

The application is running fine locally but when ever I open any model I receive this error. Not sure where to start debugging this.

OS: win32 Invoker Version: 2.13.2 Laravel Version: 10.18.0 Local project: true PHP Binary: C:\laragon\bin\php\php-8.1.10-Win32-vs16-x64\php.exe Route: /project/index?class=App%5CRegion&time=1692284483391&project=local-tmsjNsxkcCDccnzWik62Pb

Error:

Doctrine\DBAL\Exception 

  Unknown database type geometry requested, Doctrine\DBAL\Platforms\MySQL80Platform may not support it.

  at phar://C:/Users/steph/AppData/Local/Programs/Invoker/resources/invoker_l10.phar/vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php:182
    178▕             $this->initializeAllDoctrineTypeMappings();
    179▕         }
    180▕         $dbType = \strtolower($dbType);
    181▕         if (!isset($this->doctrineTypeMapping[$dbType])) {
  ➜ 182▕             throw new \Doctrine\DBAL\Exception('Unknown database type ' . $dbType . ' requested, ' . static::class . ' may not support it.');
    183▕         }
    184▕         return $this->doctrineTypeMapping[$dbType];
    185▕     }
    186▕     public function hasDoctrineTypeMappingFor($dbType)

      [2m+4 vendor frames [22m

  5   phar://C:/Users/steph/AppData/Local/Programs/Invoker/resources/invoker_l10.phar/src/Factories/AttributeCollection.php:25
      Doctrine\DBAL\Schema\MySQLSchemaManager::listTableColumns("branches")

  6   phar://C:/Users/steph/AppData/Local/Programs/Invoker/resources/invoker_l10.phar/src/Factories/AttributeCollection.php:15
      _HumbugBox4ff0af112613\Invoker\Factories\AttributeCollection::getColumns("App\Branch")

sahamilton avatar Aug 17 '23 15:08 sahamilton

DItto on Linux (mint)n My rep uses MySql point (geometry) fields

sahamilton avatar Feb 16 '24 19:02 sahamilton