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

Offen
#514 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
58/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
php
Bereich
backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
PHP
Sterne
29
Forks
39
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
14

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pluginsGLPI/escalade

Alle Issues in pluginsGLPI/escalade

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.