WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Yet Another Related Posts Plugin] Warning message in formatting.php

[Plugin: Yet Another Related Posts Plugin] Warning message in formatting.php

  • Hi,

    I have just moved my blog to a new URL.
    Everything is fully OK, working and all, but if I go into any of my posts, I have a warning message at the beggining right before the body of the text saying: Warning: strip_tags() expects parameter 1 to be string, array given in…/html/wp-includes/formatting.php on line 631

    Now line 631 is the following:

    629function sanitize_user( $username, $strict = false ) {
    630 $raw_username = $username;
    631 $username = strip_tags($username);
    632 // Kill octets
    633 $username = preg_replace(‘|%([a-fA-F0-9][a-fA-F0-9])|’, ”, $username);
    634 $username = preg_replace(‘/&.+?;/’, ”, $username); // Kill entities

    Could anyone help me with this please, I am really lost now.
    I found that YARPP is causing this message, probably I have done something wrong.
    Also that could be important that when I moved over to this new URL I use the new 2.9 WP while the last page was on 2.8.

    Please if anyone have had this before let me know how to get rig of thise lines.

    thanks,

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Warning message in formatting.php’ is closed to new replies.
Skip to toolbar