You are using CMS Joomla (Joomla 2.5x, Joomla 3.10.x, Joomla 4.x) Error Message Duplicate entry '0' for key 'PRIMARY' when saving new content of the article, how to fix the error below ensures 100% success.
Reason: Column ID of Table _content NOT is AUTO_INCREMENT
Solution: You access Hosting and then go to PhpMyadmin find the Table _content Select the attribute AUTO_INCREMENT for the ID column save and done
Step 1: After clicking on the table _content you click Structure
Step 2: Here you will see the item Extra of column Id has no attribute AUTO_INCREMENT. You click Chage
Step 3: Then click the A_I (AUTO_INCREMENT) then press the Save button