Magento2 error ltrim () expects parameter 1 to be a string, given array

I've moved my website based on Magento 2.2.5 to another existing site in order to make them both multi-site. I used a paid migration tool and everything seemed to be fine except that now when I change some products to add them to a category for one of my store views, the error here below is generated. I even tried removing the category in the admin panel, then recreating the category thinking that something with the category had just not migrated properly.

None of these entities with id = 128

Warning: ltrim () expects parameter 1 to be a string, array given in provider / magento / module-catalog / Template / Category / FileInfo.php at line 102

I'm not sure how to identify the entity id 128. I've checked all my other categories that have images and category descriptions added to everything that looks good.

Any suggestions on how to solve this problem and / or how to solve it? I've also checked my file and file permissions already