Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#17211 closed defect (bug) (worksforme)

htmlspecialchars error

Reported by: mwischmann Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: reporter-feedback
Focuses: Cc:


I just took a quick look through my PHP error log and found the following:

[21-Apr-2011 01:10:53] PHP Warning: htmlspecialchars() expects parameter 1 to be string, object given in /home/wp-includes/class-IXR.php on line 756

Using WordPress 3.2-bleeding

Change History (2)

comment:1 @andrewryno4 years ago

  • Keywords reporter-feedback added

Have you disabled plugins and switched to twentyten? It's possible that core isn't the one passing an incorrect parameter. I looked briefly and couldn't find an instance of where the $message param isn't a string.

comment:2 @SergeyBiryukov4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

I also couldn't find an instance in core where $message is an object instead of a string.

Feel free to reopen if you find one.

Note: See TracTickets for help on using tickets.