beyondcode / beyondcode/invoker-community

Unknown database type geometry requested,

Open
#354 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
76
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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)

+4 vendor frames 

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")
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.