Ready to get started?Download WordPress


[Plugin: WP Smush.it] Error Activating (6 posts)

  1. rhythmdoctor
    Posted 6 years ago #

    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

  2. Alex Dunae
    Posted 6 years ago #

    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.


  3. Herudea
    Posted 6 years ago #

    Hey there, this sounds great! I am getting an error though:

    Error posting to Smush.it


    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...?


  4. Herudea
    Posted 6 years ago #

    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....?

  5. Alex Dunae
    Posted 6 years ago #

    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


  6. Alex Dunae
    Posted 5 years ago #

    Check out the new version, WP Smush.it 1.2, it should resolve your problems.

Topic Closed

This topic has been closed to new replies.

About this Topic