Can’t create new Pods pages

I found the problem.

There was a line of code that was deleting all posts as soon they were created.

It may seems slly but it was wanted, I’m building a really custom app based on wordpress…

Simply I forgot that this would cancel many other things that pods saves as post, like pods pages or pods fields.

It’s strange hwr that in the page editing screen, the main button was showing “submit for review” instead of “publish”, lije wordpress knew about that error in the code. Maybe it decide what to show seeing if it was able to save a draft of the page. Since the drafts were getting deleted all the same, probably it thought I was allowed to publish.

Pretty intricate system!