• Our website uses a customized BuddyPress to provide certain functionality. Part of the functionality includes allowing users to post portfolios of their art work.

    While reviewing wp-contents/debug.log, I noticed quite a few instances of:

    PHP Notice:  Undefined index: input in /var/www/html/wp-includes/kses.php on line 867
    

    I did some digging and found that these notices are associated with a user’s uploading an image file to /wp-content/uploads/<year>/<month>.

    What I don’t understand, however, is the notice itself – there is no parameter by the name of ‘input’ in the function being called (wp_kses_attr_check). Can you please help me understand why this notice is being generated and what it means?

    (Yes – I know that this is just a notice, but it is much easier to find stuff that matters in debug.log if it is bloated.)

    Thank you.

    • This topic was modified 6 years, 8 months ago by groston.
    • This topic was modified 6 years, 8 months ago by groston.
Viewing 1 replies (of 1 total)
  • Hello,

    think the warning is from the plugin your using. And (wp_kses_attr_check) act like a security it only allows HTML elements.

    i hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Warning being thrown from kses.php’ is closed to new replies.