Title: yarpp causing formatting.php warning
Last modified: August 19, 2016

---

# yarpp causing formatting.php warning

 *  [markovacs](https://wordpress.org/support/users/markovacs/)
 * (@markovacs)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/yarpp-causing-formattingphp-warning/)
 * Hi reader!
 * 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 (root, changed it)/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
 * I figured that if I switch off YARPP then this message disappears, but I would
   really want to use YARPP since I was happy with the plugin so far.
 * Any idea what to do to get rid of the messages.

The topic ‘yarpp causing formatting.php warning’ is closed to new replies.

## Tags

 * [formatting.php](https://wordpress.org/support/topic-tag/formatting-php/)
 * [tags](https://wordpress.org/support/topic-tag/tags/)
 * [YARPP](https://wordpress.org/support/topic-tag/yarpp/)

 * 0 replies
 * 1 participant
 * Last reply from: [markovacs](https://wordpress.org/support/users/markovacs/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/yarpp-causing-formattingphp-warning/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
