Magento migration

Hi all. I’m a bit at my wit’s end with migrating a magento site from one server to another. We have setup a new server cause the company wants to move their magento site over to us. Though the url remains the same. This is not a problem, because I But I’m having an issue with getting the site to run perfectly. So far all pages are working except the category pages.

I’m getting an error: (reflectionException): class Magento/CatalogSearch/Model/Layer/Filter/Category does not exist.

Problem is that it is a fairly old site that is running on php 7.1 still. When I run bin/magento –version it tells me it is running cli 2.2.5 and composer.json is also telling me 2.2.5.

I run bin/magento setup:upgrade with no problem, but if I run bin/magento setup:di:compile then I get the same error as I mentioned above.

I’ve tried multiple variations of composer update and updating that specific module. But having no luck. Has anyone ever dealt with anything like this?

submitted by /u/kiekrs
[link] [comments]