Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#8303 closed defect (bug) (fixed)

Fix for #8091 introduces error "Warning: Cannot use a scalar value as an array in /var/www/dot-net/wp-includes/classes.php on line 826"

Reported by: JulienV Owned by: westi
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords:
Focuses: Cc:



The fix for #8091 in changeset 9812 adds the following error on some pages:
Warning: Cannot use a scalar value as an array in /var/www/dot-net/wp-includes/classes.php on line 826


Change History (5)

comment:1 @DD327 years ago

  • Milestone changed from 2.8 to 2.7
  • Version set to 2.7

Which pages? Client side or admin side?

If client side, Which theme? Default or Custom? If custom, Does it occur with the Default theme?

comment:2 @aaron_guitar7 years ago

For me it's happening with the default theme. It appears to be coming from the wp_list_pages() function and the errors only show up whenever you are viewing a subpage.

comment:3 @westi7 years ago

  • Owner changed from anonymous to westi
  • Status changed from new to assigned

Yes can see this too on my site. :-(

comment:4 @mrmist7 years ago

See also #8299

comment:5 @westi7 years ago

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

(In [9830]) Make arguments to start_el consistent and ensure that page walking is consistent. Fixes #8303 and #8091 props filosofo.

Note: See TracTickets for help on using tickets.