Jump to content

Error 500 Only on Home Page


rikyrd

Recommended Posts

Hi,

I installed PrestaShop 1.7.8.4 on my machine (Windows 10) with xamp.

I installed a theme and everything was working great, until out of nowhere homepage only showed error 500. 

This error might have showed up after deleting demo categories and products but not sure. 

Site subpages work fine, just home giving error 500.

I've been all over my files to solve this issue with no luck

 

What could be the problem?

 

Thank you in advance for any help.

Screenshot_11.png

Link to comment
Share on other sites

9 hours ago, rikyrd said:

Thanks, this solved the problem, but it only happened after deleting the demo products, can it be related?

When module value is not checked for empty by isset or other checking. if the return value is null in that case error occurred and show. Your module do not find $category after fetch if you deleted data

Thank you

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...