i have a multiwebsite magento, one website work properly but for the other when i try to save a category i got an error :

a Argument 1 passed to Magento\Catalog\Model\Category\FileInfo::removeStorePath() must be of the type string, array given, called in /home/www/budracing/www/releases/20210930133410/vendor/magento/module-catalog/Model/Category/FileInfo.php on line 167

Thanks for help

1 Answer 1


The problem was from another module, mageplaza catalog permission, one of the module observer was causing the error.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.