Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#24 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
php
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
PHP
スター
4
フォーク
4
平均マージ
9時間 32分
マージ済み PR(30日)
2

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pluginsGLPI/advancedforms のほかの issue

pluginsGLPI/advancedforms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。