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

Open
#24 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
php
Domain
backend

Research direction

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.

Written by the indexing model from the issue text.

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

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.

Dominant language
PHP
Stars
4
Forks
4
Avg merge
7d 7h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pluginsGLPI/advancedforms

All issues in pluginsGLPI/advancedforms

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.