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

How to get a list of pages (not posts) with specific tags?

get_pages() is a valid function, but it doesn’t have any parameters for getting pages with specific taxonomy terms assigned. WP_Query will get posts of any type (such as Pages) and can query by taxonomy terms. If you don’t want to look through your plugin’s code to find out what it calls the Page Tag taxonomy, … Read more