Jump to content

Add New Field To Store Admin - Object Creation Error


prestatent
 Share

Recommended Posts

Prestashop 1.5.4.1

 

 

Hi

 

I've added a new field to the store, but when I'm trying to add a new record, I get the following error:

 

An error occurred while creating an object. store (Field 'id_vip' doesn't have a default value

 

I know this is not the correct way to do these things, but I've amended AdminStoresController.php to include the new field, but I'm obviously missing something.

 

Anyone have ideas about this?

 

Thanks.

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
 Share

×
×
  • Create New...

Important Information

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