Well, after one year this problem started again but with a different warning
warning yii\i18n\PhpMessageSource::loadMessages The message file for category 'modules/filemanager/main' does not exist: /home/shared/var/www/dev/myapp/vendor/pendalf89/yii2-filemanager/messages/ro/main.php
/home/shared/var/www/dev/myapp/vendor/pendalf89/yii2-filemanager/Module.php:92
/home/shared/var/www/dev/myapp/vendor/pendalf89/yii2-filemanager/views/file/filemanager.php:18
/home/shared/var/www/dev/myapp/vendor/pendalf89/yii2-filemanager/controllers/FileController.php:66
09:09:47.388
warning yii\i18n\PhpMessageSource::loadMessages The message file for category 'kvselect' does not exist: /home/shared/var/www/dev/myapp/vendor/kartik-v/yii2-widget-select2/src/messages/ro/kvselect.php
/home/shared/var/www/dev/myapp/vendor/kartik-v/yii2-widget-select2/src/Select2.php:301
/home/shared/var/www/dev/myapp/vendor/kartik-v/yii2-widget-select2/src/Select2.php:278
/home/shared/var/www/dev/myapp/vendor/kartik-v/yii2-widget-select2/src/Select2.php:225
My configurations is the same: the used php version for yii 2.0.47 is php 8.1 (fpm).
I deleted vendor folder and executed composer install, I even used composer update (2.0.49),
I deleted runtime/* folders, and nothing worked.
Here is my composer.json
{
"name": "yiisoft/yii2-app-basic",
"description": "Yii 2 Basic Project Template",
"keywords": ["yii2", "framework", "basic", "project template"],
"homepage": "https://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "https://www.yiiframework.com/forum/",
"wiki": "https://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.3.0",
"yiisoft/yii2": "~2.0.45",
"yiisoft/yii2-bootstrap5": "~2.0.2",
"yiisoft/yii2-symfonymailer": "~2.0.3"
},
"require-dev": {
"yiisoft/yii2-debug": "~2.1.0",
"yiisoft/yii2-gii": "~2.2.0",
"yiisoft/yii2-faker": "~2.0.0",
"phpunit/phpunit": "~9.5.0",
"codeception/codeception": "^5.0.0 || ^4.0",
"codeception/lib-innerbrowser": "^3.0 || ^1.1",
"codeception/module-asserts": "^3.0 || ^1.1",
"codeception/module-yii2": "^1.1",
"codeception/module-filesystem": "^2.0 || ^1.1",
"codeception/verify": "^2.2",
"symfony/browser-kit": "^6.0 || >=2.7 <=4.2.4",
"yiisoft/yii2-swiftmailer": "*",
"lajax/yii2-language-picker": "1.*",
"codemix/yii2-localeurls": "^1.5",
"dpodium/yii2-filemanager": "dev-master",
"pendalf89/yii2-filemanager": "*",
"yiisoft/yii2-imagine": "^2.1",
"tinymce/tinymce": "^5.0"
},
"config": {
"allow-plugins": {
"yiisoft/yii2-composer" : true
},
"process-timeout": 1800,
"fxp-asset": {
"enabled": false
}
},
"scripts": {
"post-install-cmd": [
"yii\\composer\\Installer::postInstall"
],
"post-create-project-cmd": [
"yii\\composer\\Installer::postCreateProject",
"yii\\composer\\Installer::postInstall"
]
},
"extra": {
"yii\\composer\\Installer::postCreateProject": {
"setPermission": [
{
"runtime": "0777",
"web/assets": "0777",
"yii": "0755"
}
]
},
"yii\\composer\\Installer::postInstall": {
"generateCookieValidationKey": [
"config/web.php"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}