Database error when you click on "add to cart"
-
I am using woocommerce on a custom theme. Everything is good in my site but when I click add to cart on any product I get this massage –
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( id int(11) NOT NULL AUTO_INCREMENT, user_id int(11) NOT NULL, ' at line 1] CREATE TABLE IF NOT EXISTS ( id int(11) NOT NULL AUTO_INCREMENT, user_id int(11) NOT NULL, abandoned_cart_info text COLLATE utf8_unicode_ci NOT NULL, abandoned_cart_time int(11) NOT NULL, abandoned_cart_date datetime NOT NULL, cart_ignored enum('0','1') COLLATE utf8_unicode_ci NOT NULL, recovered_cart int(11) NOT NULL, post_id int(11) NOT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
I would be eternally grateful to anyone who will be able to help me!
Thanks in advance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Database error when you click on "add to cart"’ is closed to new replies.