Pendalf89/yii2-filemanager: Uploading to filemanager stopped working

Hi, I’m using pendalf89/yii2-filemanager extension and without do any changing to my configurations it stopped working(last config. was when I upgraded to yii 2.0.47 in february this year, but since then it worked).

The problem: I upload the file and and it’s get stuck with Processing…

The Start button is disabled and in my yii2 toolbar I have these 2 warnings

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/uploadmanager.php:11
/home/shared/var/www/dev/myapp/vendor/pendalf89/yii2-filemanager/controllers/FileController.php:73

warning	yii\i18n\PhpMessageSource::loadMessages	The message file for category 'fileupload' does not exist: /home/shared/var/www/dev/myapp/vendor/2amigos/yii2-file-upload-widget/src/messages/ro/fileupload.php

/home/shared/var/www/dev/myapp/vendor/2amigos/yii2-file-upload-widget/src/views/upload.php:13
/home/shared/var/www/dev/myapp/vendor/2amigos/yii2-file-upload-widget/src/FileUploadUI.php:83
/home/shared/var/www/dev/myapp/vendor/pendalf89/yii2-filemanager/views/file/uploadmanager.php:26

Hi again, the used php version for yii 2.0.47 is php 8.1 (fpm).

So i tested my 2.0.29 on php 7.3(fpm), and it worked. But if I tested 2.0.29 on php 8.1 the file is uploaded, but if it’s a picture the small | medium | large | fm versions are not created, only the original.

And I have these errors:

did you try wipe vendor folder and run composer install or even better composer update?
Seems your translation for extension is somehow messed up!

It worked, thx!

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"
        }
    ]
}