Skip to:

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#1283 closed defect (invalid)

Wrong datatype for second argument in functions.kses.php on line 672

Reported by: chrishajer Owned by:
Milestone: 1.1 Priority: normal
Severity: major Version: 1.1-alpha
Component: Front-end Keywords:


Warning: in_array() []: Wrong datatype for second argument in /www/internal/forums/bb-includes/backpress/functions.kses.php on line 672

I went to make a reply on an existing topic in a trunk installation of svn r2439 and received this warning. The post was created but this warning was displayed on screen, and there was no more output.

I have been able to make other replies in this installation though.

Change History (5)

#1 @GautamGupta
5 years ago

  • Keywords reporter-feedback added; trunk removed
  • Severity changed from normal to major

Can you post what was actually there in the post? (with HTML tags)

#2 @chrishajer
5 years ago

There was no HTML in the post. It happened multiple times. I actually rolled back since I couldn't afford for it to be broken. Since rolling back to r2432, I don't have the problem. Sorry I can't recreate it now.

#3 @mr_pelle
5 years ago

The "second argument" is global $allowedentitynames, whom I cannot find the definition of...

#4 @GautamGupta
5 years ago

  • Keywords reporter-feedback removed
  • Resolution set to invalid
  • Status changed from new to closed

It happened because of this -
The kses functions were updated to the WP counterpart but the variables were not put there. Check -

Closing the ticket here and opening a ticket on BackPress trac.

Note: See TracTickets for help on using tickets.