WP Smush Pro Error posting to API: 500 Internal Server Error

We are getting the Error posting to API: 500 Internal Server Error when trying to run a bulk smush. I'm assuming this is because we are utilizing WP Offload S3 to host our users images on a CDN. Uploading new image seems to work fine - smushes them and then Offload moves them to the CDN.

It would make sense if the plugin didn't know where to look for the existing images, but it can give our users a bit of a scare if they see that thinking the plugin is broken. Any thoughts/ideas?


  • Tyler Postle

    Hey James,

    I heard back from the developer and how about just hiding the bulk smush page from everyone except yourself? The super admin. Then no one will accidentally try to bulk smush anything.

    You can do that with this snippet here:

    function remove_bulk_smush_page() {
        if( is_super_admin() ) {
        remove_submenu_page( 'upload.php', 'wp-smush-bulk' );
    add_action( 'admin_menu', 'remove_bulk_smush_page', 99 );

    Paste that into a file and save as a php file then upload it to /wp-content/mu-plugins/

    That way it will apply to all the subsites on your network.

    Hope that helps! Let me know if you have further questions.

    All the best,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.