Plugin Directory


Opened 5 years ago

Closed 5 years ago

#1601 closed defect (fixed)

Array to string conversion notice in WP Query tab

Reported by: d.glockenmeier Owned by: westi
Priority: normal Severity: normal
Plugin: debug-bar Keywords: has-patch


query object may contain arrays which is currently not checked and causes implicit array to string conversion.

i attached a patch which fixes this by looping recursively through any object / array found

Attachments (1)

debug-bar.diff (1.5 KB) - added by d.glockenmeier 5 years ago.
Patch file

Download all attachments as: .zip

Change History (5)

@d.glockenmeier5 years ago

Patch file

comment:2 @d.glockenmeier5 years ago

One thing i forgot to mention, it is reproducible when viewing a custom post type archive page.

comment:3 @westi5 years ago

[360621] was the original hacky fix for the Fatal Errors. This looks like a better fix as it shows the data too ;)


comment:4 @westi5 years ago

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

In 624050:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.