I was performing a migration from a Magento to Magento 2.1.11 and after finishing the migration, when I went to each category page on the frontend, it returns a blank page as it follows:

Notice that the content of the <body> tag is empty.

The Solution

I spend a few hours trying to find the solution for this. The hardest part of this was that the logs wasn’t throwing anything.

Even if I put a ìni_set(‘display_errors’, 1);` on the index.php, no error was displayed.

So after trying a couple of things, I figured that the issue was the imported Category Image. So what I basically did was to go to any category edit, removed the image, clear cache, and that was it!

If you have a lot of categories, I recommend you to avoid that attribute from being imported.


Leave a comment