Permalink removing words by itself

I have some pages with these permalinks:

/submit-document/
/submit-homebrew/

Now all of a sudden if i go to edit this pages (classic editor) the permalink shows “/submit-4/” and “/submit-3/”

If i type in manually the words document and homebrew as soon as click “OK” WordPress changes them back to 4 and 3.

There are no pages in trash, no revisions. No other pages with same name.

I disabled all plugins and this still happens!
I never seen anything like it.
Kinda desperate, what can i do?

As a last resort i edited these pages slugs directly on the database and so the pages load in their intended permalinks, but on WordPress backend they still show up as “submit-4” and “submit-3” when i hover the “view” link or inside the editor. This is really disturbing for me because those slugs don’t exist on the database at all.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer