Hi There, i am trying to install a PrestaShop. It's the 2nd time i am doing this. The Version 8.1.5 installed perfectly and the shop is running - great.
Now, i tried to install the latest version 8.20.0 on the same server, but now it gives me folling error:
1: 0
2: 1
[WARNING] Some commands could not be registered:
3: 2
4: 3
In Configuration.php line 331:
5: 4
6: 5
PrestaShop\PrestaShop\Adapter\Configuration::restrictUpdatesTo(): Argument
7: 6
#1 ($shop) must be of type Shop, null given, called in /var/www/web194/html
8: 7
/prestashop/src/Core/Addon/Theme/ThemeManagerBuilder.php on line 61
9: 8
10: 9
11: 10
12: 11
[WARNING] Some commands could not be registered:
13: 12
14: 13
In Configuration.php line 331:
15: 14
16: 15
PrestaShop\PrestaShop\Adapter\Configuration::restrictUpdatesTo(): Argument
17: 16
#1 ($shop) must be of type Shop, null given, called in /var/www/web194/html
18: 17
/prestashop/src/Core/Addon/Theme/ThemeManagerBuilder.php on line 61
19: 18
20: 19
21: 20
Updating database schema...
22: 21
22:19:05 CRITICAL [console] Error thrown while running command "prestashop:schema:update-without-foreign --env=prod". Message: "Unknown column type "binary_string" 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." ["exception" => Doctrine\DBAL\Exception { …},"command" => "prestashop:schema:update-without-foreign --env=prod","message" => "Unknown column type "binary_string" 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."]
23: 22
24: 23
In DBALException.php line 282:
25: 24
26: 25
Unknown column type "binary_string" requested. Any Doctrine type that you u
27: 26
se has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can
28: 27
get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesM
29: 28
ap(). If this error occurs during database introspection then you might hav
30: 29
e forgotten to register all database types for a Doctrine Type. Use Abstrac
31: 30
tPlatform#registerDoctrineTypeMapping() or have your custom types implement
32: 31
Type#getMappedDatabaseTypes(). If the type name is empty you might have a
33: 32
problem with the cache or forgot some mapping information.
34: 33
35: 34
36: 35
prestashop:schema:update-without-foreign [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--id_shop [ID_SHOP]] [--id_shop_group [ID_SHOP_GROUP]] [--]
37: 36
38: 37
What can i do to fix this issue?
Database:
Server-Typ: MySQL
Server-Version: 5.7.25 - MySQL Community Server (GPL)
Protokoll-Version: 10
PHP-Version: PHP 8.2