To content | To menu | To search

dotclear 2.26.1 をインストールしようとしたらエラー

dotclear 2.26.1 をインストールして wizard.php を実行したら以下のようなエラー

2023/06/08 14:47:57 [error] 20423#100120: *99960 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of Dotclear\Helper\L10n::getLanguagePluralExpression() must be of the type string, null returned in /usr/local/www/xxx/dotclear/src/Helper/L10n.php:845

言語が正しく検出できていなかったらしい。

src/Helper/L10n.php 内、getLanguagesPluralExpression() の中の

self::$languages_pluralexpression = self::getLanguagesDefinitions(6);

self::$languages_pluralexpression = self::getLanguagesDefinitions(6, 'en');

というようにデフォルトの言語を追加したらうまくいった。

Add a comment

HTML code is displayed as text and web addresses are automatically converted.

They posted on the same topic

Trackback URL : https://www.pseudomoon.jp/dotclear/index.php?trackback/188

This post's comments feed