Opened 5 years ago

Closed 5 years ago

#8245 closed defect (bug) (fixed)

Major issues with Page lists (and page parent selecting)

Reported by: mrmist Owned by: anonymous
Priority: normal Milestone: 2.7
Component: General Version: 2.7
Severity: blocker Keywords:
Cc:

Description

The Page parent setting seems to introduce a few issues -

  1. A Page can be set to itself as the parent page. This causes PHP (5.25) to hang.
  1. A Page set to some other page as its parent is not reflected in the drop down on page refresh, it reverts to "Main page (no parent)"
  1. When a Page has a parent page, the resultant edit pages list breaks, hiding one or more other Pages.

Attachments (2)

editpageslist.jpg (43.8 KB) - added by mrmist 5 years ago.
Broken edit pages list (total 3 pages, only 2 are shown)
pagebeingedited.jpg (213.8 KB) - added by mrmist 5 years ago.
Broken page parent pull-down (shows main page when it should show the actual parent)

Download all attachments as: .zip

Change History (9)

mrmist5 years ago

Broken edit pages list (total 3 pages, only 2 are shown)

mrmist5 years ago

Broken page parent pull-down (shows main page when it should show the actual parent)

Also Paul Robinson on wp-testers has reported a Page listing error -

Catchable fatal error: Object of class stdClass could not be converted to
string in /mnt/local/home/blueby/
natural-tys.com/wp-admin/includes/template.php on line 1177

Which may or may not be related, I guess.

  • Severity changed from critical to blocker

Also reported as

"Object of class stdClass could not be converted to string in /wp-includes/wp-db.php on line 429"

preventing page list loading at all.

  • Summary changed from Major issues with Page parents to Major issues with Page lists (and page parent selecting)

A further warning appears if you have grandchild pages -

Warning: Illegal offset type in /home/www/wp-admin/includes/template.php on line 1613

Needless to say, quick edits on the broken page list result in rows vanishing...

Also manifests on the widgets Page if you have the Pages widget in the sidebar.

Error there is -

Catchable fatal error: Object of class stdClass could not be converted to string in .../wp-includes/wp-db.php on line 429

And that error will also appear on the blog front page as well as the admin page.

  • Resolution set to fixed
  • Status changed from new to closed

This should be fixed in [9731], change is only in wp-includes/post.php

Note: See TracTickets for help on using tickets.