Jump to content

Sitemap result in Error 500 screen


Bambam58

Recommended Posts

Hello i am having a problem that i cant fix. When i go to sitemap on my website i get an 500 error. In the degug mode the next message apears

[PrestaShopException]

Invalid category vars
at line 374 in file classes/Link.php

369.             if (is_array($category) && isset($category['id_category'])) {
370.                 $category = new Category($category, $idLang);
371.             } elseif ((int) $category) {
372.                 $category = new Category((int) $category, $idLang);
373.             } else {
374.                 throw new PrestaShopException('Invalid category vars');
375.             }
376.         }
377.         return $category;
378.     }
379. 

 

 

How can i fix this?

Anyone an idee?

My website is https://www.lapalma-kralen.nl

Link to comment
Share on other sites

  • 1 year later...

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...