Warning: Undefined array key "tickets_id" at ticket.class.php line 949

未关闭
#514 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
58/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
php
领域
backend

调研方向

Start with marketplace/escalade/inc/ticket.class.php at line 949, then trace linkedTickets() and its call from item_update() in the provided backtrace. Reproduce the ticket update that logs the warning and inspect the data passed to linkedTickets(). Done means the warning no longer appears for that update while linked ticket handling still works.

由索引模型根据 Issue 内容生成。

描述

Stale
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.11

Plugin version

2.10.8

Bug description

This error message appears often in php-errors.log :

[2026-10-12 10:09:00] glpi.WARNING: *** Warning: Undefined array key "tickets_id" at ticket.class.php line 949
Backtrace :
.\marketplace\escalade\inc\ticket.class.php:949
.\marketplace\escalade\inc\ticket.class.php:241 PluginEscaladeTicket::linkedTickets()
.\marketplace\escalade\hook.php:470 PluginEscaladeTicket::item_update()
.\src\Plugin.php:1810 plugin_escalade_item_update()
.\src\CommonDBTM.php:1789 Plugin::doHook()
.\front\ticket.form.php:90 CommonDBTM->update()
...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:208 Symfony\Component\HttpKernel\HttpKernel->handle()
.\src\Glpi\Kernel\Kernel.php:201 Symfony\Component\HttpKernel\Kernel->handle()
.\public\index.php:78 Glpi\Kernel\Kernel->handle()

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

主要语言
PHP
星标
29
派生
39
平均合并
1 天 20 小时
30 天内合并 PR
14

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pluginsGLPI/escalade 的其他 Issue

查看 pluginsGLPI/escalade 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。