Can’t create new pages in wordpress

Thanks to _LS for the hint,

In fact, there were many rows with the same ID , i had to create new table , copy the old table rows with auto increment option, remove the old table then rename the new table to the old table’s name. that did the trick.

Thanks all