• Resolved adinagaskin

    (@adinagaskin)


    Any idea why Im receiving the following Fatal Error when trying to activate the plugin?

    Plugin could not be activated because it triggered a fatal error.

    Warning: include_once(/html/wp-content/plugins/jch-optimize/jchplugininstaller.php): failed to open stream: No such file or directory in /html/wp-content/plugins/jch-optimize/jch-optimize.php on line 51

    I installed the plugin directly from the wordpress plugin page as well as downloading it directly from JCH and both give the same error.

    Any assistance with this would be greatly appreciated!

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Had the same problem. It appears that in the newest update of the plugin a new bit of code for “activating” the plugin was added that requests a file that the developer forgot to add. So the plugin will by definition fail to activate (because it can’t find that file because it doesn’t exist), which can also result in a 500 Internal Server Error on your site. For the moment I would recommend deactivating this plugin until the developer fixes this issue.

    If you are locked out of your site because you’ve hit a 500 Internal Server Error related to this bug, you can fix the problem by accessing your server over FTP and changing the name of the file for jch-optimize to “jch-optimize-deactivated.” This will deactivate the plugin (because WordPress won’t be able to find the plugin folder by it’s regular name) and restore the site to normal operations. The exact method for doing this is going to vary by hosting provider and site configuration, so I recommend asking your particular hosting provider about how to set up FTP access if you don’t already know.

    Thread Starter adinagaskin

    (@adinagaskin)

    Alex Thanks so much for getting back to me. That’s kinda what I figured.

    Luckily no issues as it never activated.

    I’ll wait til the next release then.

    Thanks again!
    Adina

    +1 on this. Had to deactivate the plugin.

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

The topic ‘Fatal Error When trying to activate plugin’ is closed to new replies.