Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#48559 closed defect (bug) (worksforme)

You attempted to edit an item that doesn’t exist. Perhaps it was deleted?

Reported by: haybailes's profile haybailes Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.2.4
Component: Editor Keywords: reporter-feedback
Focuses: Cc:


i'm currently working on and i have found when i'm on the home page, when i click edit in the admin bar, it takes me to
the page has a post ID=2 and its trying to send me to post ID=-99

since -99 does not exist the message that comes up is "You attempted to edit an item that doesn’t exist. Perhaps it was deleted?"

Change History (3)

#1 @dd32
5 years ago

Hi @haybailes,

Welcome to WordPress Trac.

WordPress doesn't use negative IDs anywhere itself AFAIK, so shouldn't be generating such a link intentionally - but many Page Builders and layout plugins do use negative IDs as their pages.

Are you using any similar plugins? (Or perhaps used one in the past?)
Does the problem persist if you edit the homepage (page id 2) and re-save it in the backend?

#2 @SergeyBiryukov
5 years ago

  • Keywords reporter-feedback added

#3 @noisysocks
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.