• Resolved jacquesfresco

    (@jacquesfresco)


    I keep getting the following errors when trying to Smush images:

    No file content sent.

    Couldn’t process image due to bad headers. Try re-saving the image in an image editor, then upload it again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @jacquesfresco

    I hope you’re doing well!

    This can happen when images are larger in size and need more time to optimize. Please add this line to the wp-config.php file, to increase the time out limit:
    define('WP_SMUSH_API_TIMEOUT', 150);

    Make sure to place this line above /* That's all, stop editing! Happy blogging. */

    Have a good day!

    Cheers,
    Nastia

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @jacquesfresco

    It’s been a while since we’ve heard back from you, so I mark this topic as “resolved”.
    Feel free to post back any updates and we can carry on troubleshooting. ??

    Take care,
    Dimitris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No file content sent – error’ is closed to new replies.