Hi,
I'm having this strange error when invoking Rebuild in development tree of espocrm, checkout from git, tag 5.3.6. I'm using MySQL 5.7.21.
Also tried a clean install of db but did not help. Any ideas?
thanks,
Michele
I'm having this strange error when invoking Rebuild in development tree of espocrm, checkout from git, tag 5.3.6. I'm using MySQL 5.7.21.
Code:
[2018-09-15 16:34:43] Espo.WARNING: E_WARNING: Declaration of Espo\Core\Utils\Database\DBAL\Schema\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array) should be compatible with Doctrine\DBAL\Schema\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array, array $options = Array) {"code":2,"message":"Declaration of Espo\\Core\\Utils\\Database\\DBAL\\Schema\\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array) should be compatible with Doctrine\\DBAL\\Schema\\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array, array $options = Array)","file":"/home/michib/espocrm-5.3.6/application/Espo/Core/Utils/Database/DBAL/Schema/Table.php","line":35} [] [2018-09-15 16:36:55] Espo.WARNING: E_WARNING: Declaration of Espo\Core\Utils\Database\DBAL\Schema\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array) should be compatible with Doctrine\DBAL\Schema\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array, array $options = Array) {"code":2,"message":"Declaration of Espo\\Core\\Utils\\Database\\DBAL\\Schema\\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array) should be compatible with Doctrine\\DBAL\\Schema\\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array, array $options = Array)","file":"/home/michib/espocrm-5.3.6/application/Espo/Core/Utils/Database/DBAL/Schema/Table.php","line":35} [] [2018-09-15 16:36:55] Espo.ERROR: Fault to rebuild database schema. Details: Unknown column type "jsonObject" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then you might have forgotten to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mapping information. [] [] [2018-09-15 16:36:55] Espo.ERROR: API [POST]:/Admin/rebuild, Params:Array ( ) , InputData: - Error while rebuilding database. See log file for details. [] [] [2018-09-15 16:36:55] Espo.ERROR: Display Error: Error while rebuilding database. See log file for details., Code: 500 URL: /api/v1/Admin/rebuild [] []
thanks,
Michele
Comment