Describe the bug
In PS 1.7.6.1, Error when adding image in creating new product, (Turn on debug mode)
Column 'cover' cannot be null INSERT INTO t3e_image (id_product, position, cover) VALUES ('1218', '2', NULL)
To Reproduce
Steps to reproduce the behavior:
t3e_image (id_product, position, cover) VALUES ('1218', '2', NULL)Screenshots


Additional information
PrestaShop version: 1.7.6.1
PHP version: 7.1.30
I figured out the problem. This may cause by 1-click upgrade... Somehow, the 'cover' column of 'image' and image_shop did not change to NULLable. In PS 1.6.X. the column cannot be NULL.
This will impact for those products with combination.
As my site was upgraded from 1.6.x using 1-click upgrade.
I installed a fresh 1.7.5.1 installation. Problem does not happen.
Highlight of how to fix.
image_shop.I will test and examine further before applying to my production site.
Hi @dtwfung,
Your problem is solved?
@mariem-abid Yes, solved.