Title: [Plugin: WP Smush.it] Error Activating
Last modified: August 19, 2016

---

# [Plugin: WP Smush.it] Error Activating

 *  [rhythmdoctor](https://wordpress.org/support/users/rhythmdoctor/)
 * (@rhythmdoctor)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-smushit-error-activating/)
 * I keep getting the following error when I activate the plugin but would so much
   love to use it. please advise.
 * Fatal error: Cannot redeclare class Services_JSON in /home/content/j/w/r/jwrmrr/
   html/wp-content/plugins/wp-smushit/JSON/JSON.php on line 116

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

 *  [Alex Dunae](https://wordpress.org/support/users/alexdunae/)
 * (@alexdunae)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-smushit-error-activating/#post-962603)
 * It appears that you already have PEAR’s JSON library open, which I include as
   a fallback for PHP 4 users.
 * I’ve just uploaded a fix (v. 1.1.3) that checks for the JSON library before trying
   to include its own copy. Let me know if it works for you.
 * Alex
 *  [herudea](https://wordpress.org/support/users/herudea/)
 * (@herudea)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-smushit-error-activating/#post-962673)
 * Hey there, this sounds great! I am getting an error though:
    ** Error posting
   to Smush.it
 * and
 * **Error reading the input file**
 * This happens in the media library, and both when I upload from a page edit screen,
   or from withing the media library.
 * Any thoughts? Permissions…?
 * Thanks!
 *  [herudea](https://wordpress.org/support/users/herudea/)
 * (@herudea)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-smushit-error-activating/#post-962678)
 * Also, on a seperate blog, I’m getting a different error.
 * **remote fopen is not enabled**
 * Then a link to get more info about the problem, with goes to an anchor on your
   website, where there is no info about the problem….?
 *  [Alex Dunae](https://wordpress.org/support/users/alexdunae/)
 * (@alexdunae)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-smushit-error-activating/#post-962684)
 * Hey Herudea,
 * The fopen error means just what it says: your PHP settings don’t allow using 
   fopen to post to Smush.it (or any other site).
 * I’ve got a new version you’re welcome to help test that takes care of this. E-
   mail me and I’ll send you a copy: code [AT] dunae [dot] CA
 * Alex
 *  [Alex Dunae](https://wordpress.org/support/users/alexdunae/)
 * (@alexdunae)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-smushit-error-activating/#post-962691)
 * Check out the new version, WP Smush.it 1.2, it should resolve your problems.

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

The topic ‘[Plugin: WP Smush.it] Error Activating’ is closed to new replies.

 * 5 replies
 * 3 participants
 * Last reply from: [Alex Dunae](https://wordpress.org/support/users/alexdunae/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-smushit-error-activating/#post-962691)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
