Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Fatal Compile Error: Class GlpiPlugin\Advancedforms\Model\QuestionType\TreeCascadeDropdownQuestion

Aperta
#24 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

Start with the plugin's Model/QuestionType/TreeCascadeDropdownQuestion.php at line 46 and reproduce the plugin upgrade on GLPI 11.0.4 using the reported PHP 8.2 and Debian 12 setup. Trace the relationship with GLPI's QuestionTypeItemDropdown and verify that the plugin upgrade completes without the fatal compile error and remains usable after upgrading to GLPI 11.0.7.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

1.1.0

Bug description

We were preparing to update GLPI from 11.0.4 to 11.0.7.
When attempting to update all plugins in 11.0.4 before upgrading to 11.0.7, the AdvancedForms plugin updated but generated a fatal internal server error.

[2026-04-29 21:32:01] glpi.ALERT: *** Fatal Compile Error: Class GlpiPlugin\Advancedforms\Model\QuestionType\TreeCascadeDropdownQuestion cannot extend final class Glpi\Form\QuestionType\QuestionTypeItemDropdown

Backtrace:

...QuestionType/TreeCascadeDropdownQuestion.php:46

Relevant log output
[2026-04-29 21:32:01] glpi.ALERT: *** Fatal Compile Error: Class GlpiPlugin\Advancedforms\Model\QuestionType\TreeCascadeDropdownQuestion cannot extend final class Glpi\Form\QuestionType\QuestionTypeItemDropdown
Page URL

No response

Steps To reproduce

upgrade plugin on glpi 11.0.4

Your GLPI setup information

I can't get the glpi working
but is debian 12, php8.2 glpi installed from tarball

Anything else?

As a workaround, I deleted the plugin files from the marketplace directory. This got GLPI working again, and I was able to continue with the update to GLPI 11.0.7.
After the GLPI upgrade, I re-downloaded the plugin, and it worked.

Lingua principale
PHP
Stelle
4
Fork
4
Merge medio
7g 7h
PR unite (30g)
3

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pluginsGLPI/advancedforms

Tutte le issue di pluginsGLPI/advancedforms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.