Make WordPress Core

Opened 7 years ago

Closed 7 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)

#1 @andrewryno
7 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.

#2 @SergeyBiryukov
7 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.