Title: Image Error
Last modified: August 22, 2016

---

# Image Error

 *  [bradleysowash](https://wordpress.org/support/users/bradleysowash/)
 * (@bradleysowash)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/)
 * When I try to upload an image, this message appears:
 * Warning: preg_replace(): Compilation failed: unknown option bit(s) set at offset
   0 in /home/ljviss/public_html/wp-includes/formatting.php on line 934
    30
 * This is a newly installed site…hosting is with GoDaddy, they cannot solve the
   problem.

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/#post-5197350)
 * – Is this a fresh install?
    – What did you do before this error showed up? – 
   What version of PHP are you using? – have you tried deleting WP-includes and 
   WP-admin and copy them back up from a fresh download. – Have you discussed this
   with your webhost?
 *  Thread Starter [bradleysowash](https://wordpress.org/support/users/bradleysowash/)
 * (@bradleysowash)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/#post-5197354)
 * – Fresh install
    – I just began working on the site – native(5.4) – PHP version
 * The webhost has done what they know and are confused.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/#post-5197357)
 * Try deleting WP-includes and WP-admin and copy them back up from a fresh download.
 *  [wphigh](https://wordpress.org/support/users/wphigh/)
 * (@wphigh)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/#post-5197358)
 * May be anyone of plugins, deactivate all and try again.
 *  Thread Starter [bradleysowash](https://wordpress.org/support/users/bradleysowash/)
 * (@bradleysowash)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/#post-5197360)
 * If I delete WP-includes and WP-admin, should I copy them first to re-upload them?
 * I’ve tried deactivating the plugins.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/#post-5197364)
 * > should I copy them first to re-upload them
 * No. use a fresh copy from a fresh download of WP
 *  Thread Starter [bradleysowash](https://wordpress.org/support/users/bradleysowash/)
 * (@bradleysowash)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/#post-5197369)
 * I don’t understand…won’t I lose my site if I do that?

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

The topic ‘Image Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [bradleysowash](https://wordpress.org/support/users/bradleysowash/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/image-error-6/#post-5197369)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
