Title: PhP code error message in wp admin
Last modified: August 21, 2016

---

# PhP code error message in wp admin

 *  [jasonpr](https://wordpress.org/support/users/jasonpr/)
 * (@jasonpr)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/php-code-error-message-in-wp-admin/)
 * Hello
 * I have a message appearing in my wp admin in all areas including posts and pages
   etc. This is the error message and a few screen shots below. Anyone have any 
   idea’s?
 * Warning: htmlspecialchars() [function.htmlspecialchars]: charset `UTF-7′ not 
   supported, assuming iso-8859-1 in /home/jasonpr/public_html/wp-includes/formatting.
   php on line 2751
 * [http://prntscr.com/1ohrte](http://prntscr.com/1ohrte)
 * Cheers
    Jason

Viewing 1 replies (of 1 total)

 *  [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/php-code-error-message-in-wp-admin/#post-4084176)
 * I’d just check that your site hasn’t been hacked
 * [http://sitecheck.sucuri.net/scanner/](http://sitecheck.sucuri.net/scanner/)
 * and that your wp-config has the following
 * /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’,‘
   utf8’);

Viewing 1 replies (of 1 total)

The topic ‘PhP code error message in wp admin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Robin W](https://wordpress.org/support/users/robin-w/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/php-code-error-message-in-wp-admin/#post-4084176)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
