We just added a new term to an existing taxonomy vocabulary, which worked fine. But when I go to the "list terms" page and try to move the new term to a different place within the list (keeping the same parent term), I get this error when I try to save it:
Error
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '33-31' for key 'PRIMARY': UPDATE {taxonomy_term_hierarchy} SET `parent`=:db_update_placeholder_0 WHERE (`tid` = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => 31 [:db_condition_placeholder_0] => 33 )
Also, when I reload the "List terms" page, the parent term was displayed in a different place.
Oh, and the terms that it's complaining about weren't touched in the editing.
I am running the latest version of Backdrop (1.31.0) and all modules.
Any idea what's going on?
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE
I could request hashing support, but that's the lazy way 🤣 I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
File hashing uploads made through TinyMCE
Hi, i understand the updating obstacle - not worth mentioning - hence it is a wacky (but working) patch until i know what to do. :-) One of my biggest wishes is to understand the hook...
File hashing uploads made through TinyMCE