Ngày: 28-02-2022 15:57:17
Chi tiết ngoại lệ: /var/log/DirectBuy/root-directbuyla-exp_1280c91f9f.json
Lớp: PDOException
Dòng: 138
Liên kết tài liệu: Không có tài liệu
Thông báo: không tìm thấy driver
====================================
Dấu vết ngăn xếp:
#0 [chức năng bên trong]: 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/nhà cung cấp/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(70): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition ), Mảng)
#3 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(58): DI\Definition\Resolver\ObjectCreator->resolve(Object(DI\Definition\ObjectDefinition ), Mảng)
#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 ), Mảng)
#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), Đối tượng(ReflectionMethod), Mảng)
#11 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(70): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition ), Mảng)
#12 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(58): DI\Definition\Resolver\ObjectCreator->resolve(Object(DI\Definition\ObjectDefinition ), Mảng)
#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 ), Mảng)
#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), Đối tượng(ReflectionMethod), Mảng)
#20 /var/www/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(100): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition ), Mảng)
#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 \YToxOntzOjc6ImZhY3RvcnkiO3M6NTA6IlByb3h5TWWuYWdlclxGYWN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xkZXJGYWN0b3J5Ijt9), 'syncNow', Mảng, Đối tượng (Đóng cửa))
#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\YToxOntzOjc6ImZhY3RvcnkiO3M6NTA6IlByb3h5TWWuYWdlclxGYWN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xNowjtb3XJN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xGYWN0bZJJ5j9j9j9->->
#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 {chính}
Tôi đang chạy bộ chứa docker và tôi gặp phải lỗi trên. Tôi nghĩ đó là do tôi thiếu mô-đun pdo mssql, nhưng sau khi thực hiện php -m sau khi thực hiện docker-compose exec php bash, tôi nhận được:
[Mô-đun PHP]
Cốt lõi
ctype
Xoăn
ngày tháng
nhà thờ
nộp thông tin
lọc
ftp
gđ
lấy văn bản
băm
iconv
json
ldap
libxml
chuỗi mb
mysqli
mysqlnd
opensl
pcre
PDO
pdo_mysql
pdo_sqlite
pdo_sqlsrv
phar
tư thế
dòng đọc
làm lại
Sự phản xạ
phiên họp
SimpleXML
natri
SPL
sqlite3
Tiêu chuẩn
mã thông báo
xml
trình đọc xml
xmlwriter
Zend OPcache
khóa kéo
zlib
Vậy vấn đề là gì? Tôi đã cài đặt và cấu hình nó vì plugin đang hoạt động. Chuyện gì vậy?