[wp-trac] [WordPress Trac] #58345: Critical error if page_for_posts is set to non existing page ID

WordPress Trac noreply at wordpress.org
Thu May 18 18:52:11 UTC 2023


#58345: Critical error if page_for_posts is set to non existing page ID
----------------------------+---------------------
 Reporter:  wplindavantol   |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  6.3
Component:  Menus           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  php8 has-patch  |     Focuses:
----------------------------+---------------------

Comment (by wplindavantol):

 @hbhalodia The problem existed before I was asked to look into it. I tried
 to reproduce it with a possible scenario, but I couldn't reproduce it.

 I have created a new user. With this user I created a page, which I set as
 a 'blog' page. Then I deleted this user, without linking the content to
 another user. But that didn't cause this problem.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58345#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list