Error Codes

Why Am I Receiving a “Not Found” Error?

A Not Found error occurs when Optimus cannot find the image in your server’s filesystem. A few common causes of this include:

  • If an image and ALL of its variations are removed from the filesystem however it still exists in the database, Optimus will return an internal error message. To verify if this is the case, check your Media Library and look for broken images like the following. broken images media libraryOnce you’ve identified these images, simply delete them so that they are removed from the WordPress database.
  • Since WordPress 3.5, the Media Uploader settings have been removed from the WP admin dashboard however are still configurable by defining their path in your wp-config.php file. For example:
    define( 'UPLOADS', 'wp-content/'.'files' );

    This would place the uploads directory in wp-content/files rather than the default location wp-content/uploads. Check that you have properly defined your uploads path so that Optimus can properly reference and optimize your images.

  • If you are using a plugin such a WooZone then you might experience this error if you are delivering images directly from Amazon’s CDN instead of downloading them directly to your server. The following settings will deliver images directly from Amazon’s CDN, therefore, there is no need to optimize them with Optimus and you will receive a Not found error if you try to.woozone remote imagesIf you would rather deliver the images directly from your server and optimize them with Optimus you will need to set the “Remote amazon images” feature to NO.

Why Am I Receiving Error Code 0?

An error code 0 is usually related to a timeout configuration issue on your origin server. The image may not be able to be optimized in the allotted time that is defined in the timeout setting therefore you will receive a code 0 similar to this.


To fix this, you must increase the max_execution_time in your php.ini file. It is likely it is currently set at 30 seconds, however you will want to increase this value so that the system does not timeout during the optimization of large images. We recommend the following setting:

max_execution_time = 180

Alternatively, if setting the max_execution_time does not work, your firewall may be blocking the Optimus servers. In that case, try whitelisting the IP on your origin server.

Why Am I Receiving Error Code 204?

Error code 204 appears when there is an error with the image or it is broken. Try re-exporting the image or rebuilding the image to fix this error.


Why Am I Receiving An “Internal Error”?

There is one main reason you could be receiving an Internal Error.

  • Any PHP error is also shown as internal error. There may be a configuration conflict with another plugin or your theme’s files.

To further debug this issue, modify your wp-config.php file to reflect the following.


define('WP_DEBUG', false);


 define('WP_DEBUG', true);
 define('SAVEQUERIES', true);
 define('WP_DEBUG_LOG', true);
 define('WP_DEBUG_DISPLAY', true);
 error_reporting(E_ALL | E_STRICT);


    1. Cody

      If you’re using Nginx it is located on your server at /etc/php5/fpm/php.ini and with Apache it is /etc/php5/apache2/php.ini (depending on which version of php you are using). If you are using Cpanel you can change it by using WHM’s PHP editor by going to Home > Service Configuration > PHP Configuration Editor.

      Be sure to restart your server once the changes have been made.

    1. Alex

      ok found the problem. The path to uploads folder was wrong under WP-Admin > Settings > Media. I changed it to the correct one and i dont see this error anymore.

  1. litleist

    Hi, i still get Internal Error and Missing Meta Data even i did the define(‘WP_DEBUG’, true);
    define(‘SAVEQUERIES’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, true);
    error_reporting(E_ALL | E_STRICT); and define( ‘UPLOADS’, ‘wp-content/’.’files’ ); addition on config file. What can be the problem? Thanks.

  2. Daniel


    i get the Code 0 on every PNG on the bulk optimation.

    “Alternatively, if setting the max_execution_time does not work, your firewall may be blocking the Optimus servers. In that case, try whitelisting the following IPs on your origin server.”

    What does this mean exactly? I have to add the IPs outgoing or in depth?

    1. Cody

      Have you already tried increasing the max_execution_time to 180 and it didn’t work? You also have to restart your server after making this change. As for the IP whitelisting, it will look something like the following which can be added in .htaccess:

      Allow from x.x.x.x

  3. Vadim Sert

    I got the Code 0 but after fiew days of search what was goingon finaly have added the “define(‘FS_METHOD’, ‘direct’);” line in the wp-config.php (without any space, with space wasn’t working) and all fixed up…

    1. Cody

      You see this message when trying to click on the red “Activate Optimus HQ” text? Are you using the latest version of WordPress?

  4. Marcel

    With Bulk optimizer it always sends 2 requests, one ends with 200 one with 407? site is behind proxy, think every second request does not use proxy from wp?

          1. oikawa

            Sorry to heart that as we think Optimus is one of the most cost-effective image compression solution. We hope Optimus will support S3 plugins someday. Thanks.

  5. Matthew

    Hi, i got the Error Code: cURL error 35: Unknown SSL protocol error in connection to , wen i would like to activate the plugin in the wordpress dashboard. I tried it with and without https

    can you please help me?


    1. Sebastian Krohn

      Hello Matthew,

      we’ve seen this before when running with old libcurl versions. Can you see if upgrading libcurl resolves the issue?

      Another possible cause can be this bug with RedHat-based distributions:

      If that doesn’t help, please contact us through

      Make sure to include the following information:

      curl -v -I
      curl -v -I –tlsv1.2

      The version of libcurl:
      RedHat-based systems: rpm -qi libcurl
      Debian-based systems: dpkg -l libcurl\*


  6. smith

    bonjour j’ai obtenue cette erreur lors de l’installation du plugin
    cURL error 35: Unknown SSL protocol error in connection to

    avez-vous une idée du souci ?

  7. Carolin


    i got the ERROR: Unknown paramater: in machine Settings.
    It occurs when I want to compute a nominal method.
    Can you help me?
    It will be great if you can help me.
    Thank you a lot!

  8. Barbara

    Everytime I upload an image into my post it hangs for a bit and then says HTTP error. However, if I go into the media library, the image will be there. If I then go back to the post I can add it.

    Unfortunately, my articles are image heavy and this is incredibly painful. I tried setting all the debug in the config file to on, but no errors were received. I’ve also tried telling it to do TLS and not do TLS. I am having it create the webp images, and they are also getting created.

    So it’s just this HTTP error making it impossible to add images in the WYSIWYG editor. Any ideas where I should look next?

    1. Cody Arsenault

      Are you sure this is related to Optimus? For verification purposes can you try disabling the Optimus plugin and uploading an image as you normally would to see if you still receive the error?

  9. Patrick Sablotny

    Das HQ läßt sich nicht aktivieren. Ich kann meine Key nicht eingeben. Auch wenn ich in der Pluginliste auf den HQ Link klicke passiert nichts.

    Was ist da los?

    Gruß Patrick

Leave A Comment?