Data: 28-02-2022 15:57:17
Detaliu excepție: /var/log/DirectBuy/root-directbuyla-exp_1280c91f9f.json
Clasa: PDOException
Linia: 138
Link pentru documentare: Fără documentație
Mesaj: driverul nu a fost găsit
=====================================
Urmărirea stivei:
#0 [funcție internă]: PDO->__construct('dblib:host=MsSQ...', 'DirectBuyComInv...', '5765f5b668!!!as...', Array)
#1 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(138): ReflectionClass->newInstanceArgs(Array)
#2 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(70): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition ), matrice)
#3 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(58): DI\Definition\Resolver\ObjectCreator->resolve(Object(DI\Definition\ObjectDefinition ), matrice)
#4 /var/www/vendor/php-di/php-di/src/DI/Container.php(303): DI\Definition\Resolver\ResolverDispatcher->resolve(Object(DI\Definition\ObjectDefinition), Array)
#5 /var/www/vendor/php-di/php-di/src/DI/Container.php(131): DI\Container->resolveDefinition(Object(DI\Definition\ObjectDefinition))
#6 /var/www/vendor/php-di/php-di/src/DI/Definition/AliasDefinition.php(63): DI\Container->get('db.mssql')
#7 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/SelfResolver.php(34): DI\Definition\AliasDefinition->resolve(Object(DI\Container))
#8 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(58): DI\Definition\Resolver\SelfResolver->resolve(Object(DI\Definition\AliasDefinition) ), matrice)
#9 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ParameterResolver.php(81): DI\Definition\Resolver\ResolverDispatcher->resolve(Object(DI\Definition\AliasDefinition) ))
#10 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(132): DI\Definition\Resolver\ParameterResolver->resolveParameters(Object(DI\Definition\ObjectDefinition \MethodInjection), Object(ReflectionMethod), Array)
#11 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(70): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition ), matrice)
#12 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(58): DI\Definition\Resolver\ObjectCreator->resolve(Object(DI\Definition\ObjectDefinition) ), matrice)
#13 /var/www/vendor/php-di/php-di/src/DI/Container.php(303): DI\Definition\Resolver\ResolverDispatcher->resolve(Object(DI\Definition\ObjectDefinition), Array)
#14 /var/www/vendor/php-di/php-di/src/DI/Container.php(131): DI\Container->resolveDefinition(Object(DI\Definition\ObjectDefinition))
#15 /var/www/vendor/php-di/php-di/src/DI/Definition/AliasDefinition.php(63): DI\Container->get('DirectBuy.fr.Ca...')
#16 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/SelfResolver.php(34): DI\Definition\AliasDefinition->resolve(Object(DI\Container))
#17 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(58): DI\Definition\Resolver\SelfResolver->resolve(Object(DI\Definition\AliasDefinition) ), matrice)
#18 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ParameterResolver.php(81): DI\Definition\Resolver\ResolverDispatcher->resolve(Object(DI\Definition\AliasDefinition) ))
#19 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(132): DI\Definition\Resolver\ParameterResolver->resolveParameters(Object(DI\Definition\ObjectDefinition \MethodInjection), Object(ReflectionMethod), Array)
#20 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(100): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition ), matrice)
#21 /var/www/proxycache-di/ProxyManagerGeneratedProxy__PM__wpplugindirectbuyProductSyncYToxOntzOjc6ImZhY3RvcnkiO3M6NTA6IlByb3h5TWFuYWdlclxGYWN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xkZXJGYWN0b3J5Ijt9.php(54): DI\Definition\Resolver\ObjectCreator->DI\Definition\Resolver\{closure}(NULL, Object(ProxyManagerGeneratedProxy\__PM__\wpplugin\directbuy\ProductSync \YToxOntzOjc6ImZhY3RvcnkiO3M6NTA6IlByb3h5TWFuYWdlclxGYWN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xkZXJGYWN0b3J5Ijnct9), ','s Array)'s
#22 /var/www/proxycache-di/ProxyManagerGeneratedProxy__PM__wpplugindirectbuyProductSyncYToxOntzOjc6ImZhY3RvcnkiO3M6NTA6IlByb3h5TWFuYWdlclxGYWN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xkZXJGYWN0b3J5Ijt9.php(54): Closure->__invoke(NULL, Object(ProxyManagerGeneratedProxy\__PM__\wpplugin\directbuy\ProductSync\YToxOntzOjc6ImZhY3RvcnkiO3M6NTA6IlByb3h5TWFuYWdlclxGYWN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xkZXJGYWN0b3J5Ijt9), 'syncNow', Array, Object(Closure) )
#23 /var/www/public/wp-content/plugins/directbuy/SettingForm.php(60): ProxyManagerGeneratedProxy\__PM__\wpplugin\directbuy\ProductSync\YToxOntzOjc6ImZhY3RvcnkiO3M6NTA6IlByb3h5TWFuYWdlclxGYWN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xkZXJGYWN0b3J5Ijt9->syncNow()
#24 /var/www/public/wp-includes/class-wp-hook.php(287): wpplugin\directbuy\SettingForm->syncProducts('')
#25 /var/www/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#26 /var/www/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#27 /var/www/scripts/run-action.php(41): do_action('direct_buy_impo...')
#28 {principal}
Rulez un container docker și primesc eroarea de mai sus. Am crezut că este pentru că îmi lipsește modulul pdo mssql, dar după ce am făcut php -m după ce am făcut docker-compose exec php bash, am primit:
[Module PHP]
Miez
ctip
răsuci
Data
dom
informații despre fișier
filtru
ftp
gd
gettext
hash
iconv
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
DOP
pdo_mysql
pdo_sqlite
pdo_sqlsrv
Phar
posix
Citeste linia
redis
Reflecţie
sesiune
SimpleXML
sodiu
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
fermoar
zlib
Deci care este problema? L-am instalat și configurat deja, deoarece pluginul este activ. Ce s-a întâmplat?