-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
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
10.0.11
Plugin version
1.5.3
Bug description
Help me understand why the error occurs and how to fix it, please
Here is a screenshot of the table if needed: https://prnt.sc/uYNZKTTe6Pnv
Relevant log output
[2025-05-21 13:39:01] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "id" in /var/www/glpi/marketplace/glpiinventory/inc/taskview.class.php at line 860
Backtrace :
marketplace/glpiinventory/inc/task.class.php:635 PluginGlpiinventoryTaskView->prepareTaskjobs()
src/CronTask.php:1027 PluginGlpiinventoryTask::cronTaskscheduler()
front/cron.php:87 CronTask::launch()
------------------
[2025-05-21 13:49:02] glpisqllog.ERROR: DBmysql::doQuery() in /var/www/glpi/src/DBmysql.php line 403
*** MySQL query error:
SQL: INSERT INTO `glpi_plugin_glpiinventory_taskjobstates` (`state`, `itemtype`, `items_id`, `plugin_glpiinventory_taskjobs_id`, `agents_id`, `uniqid`) VALUES ('0', 'Printer', '177', NULL, '302', '682daf9e7c619')
Error: Column 'plugin_glpiinventory_taskjobs_id' cannot be null
Backtrace :
src/DBmysql.php:1380 DBmysql->doQuery()
src/CommonDBTM.php:729 DBmysql->insert()
src/CommonDBTM.php:1342 CommonDBTM->addToDB()
...tplace/glpiinventory/inc/taskview.class.php:944 CommonDBTM->add()
marketplace/glpiinventory/inc/task.class.php:635 PluginGlpiinventoryTaskView->prepareTaskjobs()
src/CronTask.php:1027 PluginGlpiinventoryTask::cronTaskscheduler()
front/cron.php:87 CronTask::launch()
{"user":"@glpi","mem_usage":"0.002\", 19.16Mio)"}
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response