Q&A
FuelPHPの初期設定
FuelPHPでサーバーを起動して初期画面を表示させたいのですが、以下のようにエラーのような画面になってしまいます。
実現したいこと
サーバーを起動してlocalhostでFuelPHPのトップページを表示する。
発生している問題・エラーメッセージ
### Runtime Deprecated code usage! Fuel\Core\PhpErrorException [ Runtime Deprecated code usage ]: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated COREPATH/classes/input/instance.php @ line 451 446 // get the input method and unify it 447 $method = strtolower($this->method()); 448 449 // get the content type from the header, strip optional parameters 450 $content_header = \Input::headers('Content-Type'); 451 if (($content_type = strstr($content_header, ';', true)) === false) 452 { 453 $content_type = $content_header; 454 } 455 456 // fetch the raw input data
補足情報(FW/ツールのバージョンなど)
PHPのバージョン 8.2.0
FuelPHPのバージョン 1.9
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。
2022/12/25 07:13
2022/12/25 08:36
2022/12/25 12:06