-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
GLPI Version
11.0.4
Plugin version
2.12.4
Bug description
I get those warnings in php logs :
[2026-01-06 07:45:11] glpi.WARNING: *** User Warning: Invalid relations declared between "glpi_plugin_order_accountsections" and "glpi_plugin_order_orders" table. Target field "plugin_order_accountsections_id" is not a foreign key field of "PluginOrderAccountsection". at DbUtils.php line 2247
Backtrace :
./src/DbUtils.php:2247
./src/autoload/dbutils-aliases.php:651 DbUtils->getDbRelations()
./src/CommonDBTM.php:921 getDbRelations()
./src/CommonDBTM.php:845 CommonDBTM->cleanRelationData()
./src/CommonDBTM.php:2183 CommonDBTM->deleteFromDB()
./src/CommonDBTM.php:4710 CommonDBTM->delete()
./src/CronTask.php:585 CommonDBTM->deleteByCriteria()
./src/CronTask.php:915 CronTask->sendNotificationOnError()
./front/crontask.form.php:55 CronTask::launch()
...Glpi/Controller/LegacyFileLoadController.php:64 require()
./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\LegacyFileLoadController->__invoke()
./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw()
./vendor/symfony/http-kernel/Kernel.php:197 Symfony\Component\HttpKernel\HttpKernel->handle()
./public/index.php:70 Symfony\Component\HttpKernel\Kernel->handle()
[2026-01-06 07:45:11] glpi.WARNING: *** User Warning: Invalid relations declared between "glpi_plugin_order_analyticnatures" and "glpi_plugin_order_orders_items" table. Target field "plugin_order_analyticnatures_id" is not a foreign key field of "PluginOrderAnalyticnature". at DbUtils.php line 2247
Backtrace :
./src/DbUtils.php:2247
./src/autoload/dbutils-aliases.php:651 DbUtils->getDbRelations()
./src/CommonDBTM.php:921 getDbRelations()
./src/CommonDBTM.php:845 CommonDBTM->cleanRelationData()
./src/CommonDBTM.php:2183 CommonDBTM->deleteFromDB()
./src/CommonDBTM.php:4710 CommonDBTM->delete()
./src/CronTask.php:585 CommonDBTM->deleteByCriteria()
./src/CronTask.php:915 CronTask->sendNotificationOnError()
./front/crontask.form.php:55 CronTask::launch()
...Glpi/Controller/LegacyFileLoadController.php:64 require()
./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\LegacyFileLoadController->__invoke()
./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw()
./vendor/symfony/http-kernel/Kernel.php:197 Symfony\Component\HttpKernel\HttpKernel->handle()
./public/index.php:70 Symfony\Component\HttpKernel\Kernel->handle()
[2026-01-06 07:45:11] glpi.WARNING: *** User Warning: Invalid relations declared between "glpi_plugin_order_deliverystates" and "glpi_plugin_order_orders_items" table. Target field "plugin_order_deliverystates_id" is not a foreign key field of "PluginOrderDeliverystate". at DbUtils.php line 2247
Backtrace :
./src/DbUtils.php:2247
./src/autoload/dbutils-aliases.php:651 DbUtils->getDbRelations()
./src/CommonDBTM.php:921 getDbRelations()
./src/CommonDBTM.php:845 CommonDBTM->cleanRelationData()
./src/CommonDBTM.php:2183 CommonDBTM->deleteFromDB()
./src/CommonDBTM.php:4710 CommonDBTM->delete()
./src/CronTask.php:585 CommonDBTM->deleteByCriteria()
./src/CronTask.php:915 CronTask->sendNotificationOnError()
./front/crontask.form.php:55 CronTask::launch()
...Glpi/Controller/LegacyFileLoadController.php:64 require()
./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\LegacyFileLoadController->__invoke()
./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw()
./vendor/symfony/http-kernel/Kernel.php:197 Symfony\Component\HttpKernel\HttpKernel->handle()
./public/index.php:70 Symfony\Component\HttpKernel\Kernel->handle()
[2026-01-06 07:45:11] glpi.WARNING: *** User Warning: Invalid relations declared between "glpi_plugin_order_othertypes" and "glpi_plugin_order_others" table. Target field "plugin_order_othertypes_id" is not a foreign key field of "PluginOrderOthertype". at DbUtils.php line 2247
Backtrace :
./src/DbUtils.php:2247
./src/autoload/dbutils-aliases.php:651 DbUtils->getDbRelations()
./src/CommonDBTM.php:921 getDbRelations()
./src/CommonDBTM.php:845 CommonDBTM->cleanRelationData()
./src/CommonDBTM.php:2183 CommonDBTM->deleteFromDB()
./src/CommonDBTM.php:4710 CommonDBTM->delete()
./src/CronTask.php:585 CommonDBTM->deleteByCriteria()
./src/CronTask.php:915 CronTask->sendNotificationOnError()
./front/crontask.form.php:55 CronTask::launch()
...Glpi/Controller/LegacyFileLoadController.php:64 require()
./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\LegacyFileLoadController->__invoke()
./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw()
./vendor/symfony/http-kernel/Kernel.php:197 Symfony\Component\HttpKernel\HttpKernel->handle()
./public/index.php:70 Symfony\Component\HttpKernel\Kernel->handle()
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response