Jump to content

error saving tax rule Property TaxRulesGroup->date_add is not valid


Recommended Posts

trying to amend or save a new tax rule throws this error and does not save the change: Property TaxRulesGroup->date_add is not valid.

 

have version 1.6.1.1 thought it was supposed to be fixed in this version.

 

any ideas on how I can fix this need to be able to charge tax in an area asap.

Link to comment
Share on other sites

  • 3 months later...
  • 1 year later...

The problem is in the database. So, you need to use PHPMyAdmin or any other MySql administration tool.
Open the table "ps_tax_rules_group" (i have the default prefix "ps_", use your own).
You should have at least one record for your tax rule, it has two columns: "date_add" and "date_upd". Their values should be something like " 0000-00-00 00:00:00", THIS gives error. You need to update your record adding a correct date value, in my case i put " 2016-11-10 00:00:00" and " 2018-11-10 00:00:00".
Once you do this, Prestashop Tax Rules will work again.

problema-date-tax-rules.png

  • Thanks 1
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...