It looks like something is broken with your database, not a bug. When we insert new values to our tables we do not set a value for the primary key because it's an AUTONUMBER column, meaning that MySQL itself uses a monotonically increasing positive integer. Seeing an error with a zero (0) value means that MySQL believes the column is not an AUTONUMBER. But I checked our SQL (in the administrator/components/com_admintools/sql directory) and we definitely create them as AUTONUMBER.
This means that you or someone else exported and re-imported the database in a database other than SQL format, e.g. in CSV format. When you do that, the imported table's column types are wrong, and AUTONUMBER columns are no longer AUTONUMBER.
Please tell me what you did before this error appeared on your site.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!