Title: PHP Notice: Array to String Conversion in formatting.php
Last modified: August 22, 2016

---

# PHP Notice: Array to String Conversion in formatting.php

 *  Resolved [nekkoy](https://wordpress.org/support/users/nekkoy/)
 * (@nekkoy)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-in-formattingphp-1/)
 * I get this on frontend of my site 6 times in a row (http:sunnmorsk-klatreklubb.
   no):
 * Notice: Array to string conversion in /home/sunnmaug/public_html/wp-includes/
   formatting.php on line 703
 * When I look it up in the file it is from this (pasted line 702 to 706, 703 is
   the second line of text):
 *     ```
       function wp_check_invalid_utf8( $string, $strip = false ) {
       	$string = (string) $string;
   
       	if ( 0 === strlen( $string ) ) {
       		return '';
       ```
   
 * Anyone know how to fix this? The notice showed up after I updated the custom 
   Facebook feed pro plugin, but the notice is still there after disabling the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [nekkoy](https://wordpress.org/support/users/nekkoy/)
 * (@nekkoy)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-in-formattingphp-1/#post-5400971)
 * Resolved:
 *  [oberbiber](https://wordpress.org/support/users/oberbiber/)
 * (@oberbiber)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-in-formattingphp-1/#post-5401048)
 * how ???
    thanx for any help

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Notice: Array to String Conversion in formatting.php’ is closed to
new replies.

## Tags

 * [Array to String Conversion](https://wordpress.org/support/topic-tag/array-to-string-conversion/)
 * [formatting.php](https://wordpress.org/support/topic-tag/formatting-php/)
 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [oberbiber](https://wordpress.org/support/users/oberbiber/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/php-notice-array-to-string-conversion-in-formattingphp-1/#post-5401048)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
