Jump to content

Search Results Blank Page


Recommended Posts



Could anyone help me with the following issue:

I'm getting a blank page when I use search on Prestashop and cannot solve this issue.

  • I'm using
  • debug mode on not showing anything
  • all caching off & cleared
  • indexing for search on
  • did try to replace all files with original in the following catalogues -> adapter, classes, controllers, core, js, ovveride, tools
  • also replaced tpl for search and block search module

Is this issue database related? if so, to which tables is search related?


I have the site live on a test server: www.brylew.ie (dev mode on)


thanks in advance for any tips

Share this post

Link to post
Share on other sites

I actually found the cause- it is php error in module


$categoryId = Context::getContext()->controller->getCategory()->id;

can anyone advise where's the error in this line?

for some reason it's referring to search controller and returning an error

Edited by matik4 (see edit history)

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More