Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#8245 closed defect (bug) (fixed)

Major issues with Page lists (and page parent selecting)

Reported by: mrmist's profile mrmist Owned by:
Milestone: 2.7 Priority: normal
Severity: blocker Version: 2.7
Component: General Keywords:
Focuses: 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 16 years ago.
Broken edit pages list (total 3 pages, only 2 are shown)
pagebeingedited.jpg (213.8 KB) - added by mrmist 16 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)

@mrmist
16 years ago

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

@mrmist
16 years ago

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

#1 @mrmist
16 years ago

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.

#2 @mrmist
16 years ago

  • 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.

#3 @mrmist
16 years ago

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

#4 @mrmist
16 years ago

A further warning appears if you have grandchild pages -

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

#5 @mrmist
16 years ago

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

#6 @mrmist
16 years ago

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.

#7 @azaozz
16 years ago

  • 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.