Jump to content

Notice: Undefined index: id


4x4_terenowiec

Recommended Posts

14 hours ago, 4x4_terenowiec said:

Hello,

My website works fine, but when I click on product to see product page I have error


1/1) ContextErrorException
Notice: Undefined index: id

in ps_categoryproducts.php line 336

This line 336 is this:


$product['id_product'] = $product['id'];

 

Prestashop Version? PHP Version? My SQL Version?? Fresh Isntall? Upgrade?

Best Regards

  • Like 1
Link to comment
Share on other sites

2 hours ago, 4x4_terenowiec said:

PHP: 7.0.33

You should use PHP version 7.2, try to change it and see if helps, if not, you should install your shop already on that version...

Check this out -> https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/

MySql is OK.

As you mentioned, it could also be a theme problem, you should ask the developer of the theme for help.

Best Regards

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