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 摘要。