Oh I think I have now figured it the problem and it looks like this problem is me (ofc).
While debugging I’ve noticed that it returns $success as true while updating to option
$success = update_option( ‘cptui_taxonomies’, $taxonomies );
But there wa no option_name “cptui_taxonomies” in the database. And then I noticed there is an option_id 0 in the wp_options table – looks like instead of creating a new id because it’s the primary key new entries are just saved with the option_id 0. And since there is already something with the option_id 0 it fails to save. Strange that it still returns true though.
I have imported the database from a backup and on the import there were some problems with setting the primary key on this table so I did it manually and looks like I’ve still messed up something .
Anyways after adding this cptui_taxonomies option_name manually it is now working. Now I have to figure out what I have messed up on the table or the MySql settings.
Sorry for wasting your time!
Btw, love your plugin, it’s so simple yet so powerful. Thank you! Keep it up ??