• Another bug worth pointing out.

    I had to use the require() fix to get the plugin “working”, but bugs were surfacing everywhere. One such bug was that it was no longer possible to upload images to media library, as it would return HTTP Error every time.

    I’m now running the GitHub version of 0.9.4, which has everythign working again but one thing. And am not sure if that’s due to conflict of having Activated 0.9.5 and just swapped out the folder.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve run into this a few times today. I had to remove the plugin completely (which required a manual removal of the three files it puts in wp-content), then reinstall it. That sorted it out for me on each case.

    Are you getting any errors in the server log or a php notice?

    If you have the error can you post it here?

    Thread Starter casbboy

    (@casbboy)

    I can’t check as I’m using that GitHub version of 0.9.4 (well, 0.9.4.5) now. Swapping this in fixed the issue. I’m using Ewww Image Optimizer, so possibly a plugin issue with the two working together.

    It throws an HTTP Error message in the Media uploader, which is masking a 500 error. The full error in the log is:

    [27-Sep-2016 08:07:38 UTC] PHP Notice: Array to string conversion in /home/username/public_html/wp-content/plugins/w3-total-cache/w3-total-cache-api.php on line 157
    [27-Sep-2016 08:07:38 UTC] PHP Notice: Array to string conversion in /home/username/public_html/wp-content/plugins/w3-total-cache/w3-total-cache-api.php on line 157
    [27-Sep-2016 08:07:38 UTC] PHP Warning: require(/home/username/public_html/wp-content/plugins/w3-total-cache/.php): failed to open stream: No such file or directory in /home/username/public_html/wp-content/plugins/w3-total-cache/w3-total-cache-api.php on line 161
    [27-Sep-2016 08:07:38 UTC] PHP Fatal error: require(): Failed opening required ‘/home/username/public_html/wp-content/plugins/w3-total-cache/.php’ (include_path=’.:/opt/alt/php70/usr/share/pear’) in /home/username/public_html/wp-content/plugins/w3-total-cache/w3-total-cache-api.php on line 161

    The log was clear beforehand so all of this showed up at once on one upload attempt. Deactivation of the plugin throws this:

    [27-Sep-2016 08:10:41 UTC] PHP Notice: Trying to get property of non-object in /home/username/public_html/wp-includes/option.php on line 1091
    [27-Sep-2016 08:10:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_cache_get() in /home/username/public_html/wp-includes/option.php:1117

    You then have to manually remove the plugin and the three files it puts in wp-content (you can leave the config directory since it has the configuration settings). After this, you can get back into the admin and reinstall the plugin. No more errors.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘0.9.5 HTTP Error Uploading Images’ is closed to new replies.