No, it is now giving a different problem.
6901Mother.jpg
Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.
But the image is being uploaded to local media library. But my setting is to serve from bucket only, no local files.
Also, if the image does not exists in the bucket then I get the error:
Fatal error: Uncaught Exception: {"error":{"code":404,"message":"No such object: stateless-afterfantasy-com/6901Mother-1-188x300.jpg","errors":[{"message":"No such object: stateless-afterfantasy-com/6901Mother-1-188x300.jpg","domain":"global","reason":"notFound"}]}}
in /var/www/vhosts/afterfantasy.com/httpdocs/wp-content/plugins/wp-media-storage-to-cloud/vendor/google/cloud-core/src/RequestWrapper.php on line 368
Call stack:
Google\C\C\RequestWrapper::convertToGoogleException()
wp-content/plugins/wp-media-storage-to-cloud/vendor/google/cloud-core/src/RequestWrapper.php:207
Google\C\C\RequestWrapper::send()
wp-content/plugins/wp-media-storage-to-cloud/vendor/google/cloud-core/src/RestTrait.php:97
Google\C\S\C\Rest::send()
wp-content/plugins/wp-media-storage-to-cloud/vendor/google/cloud-storage/src/Connection/Rest.php:192
Google\C\S\C\Rest::deleteObject()
wp-content/plugins/wp-media-storage-to-cloud/vendor/google/cloud-storage/src/StorageObject.php:185
Google\C\S\StorageObject::delete()
wp-content/plugins/wp-media-storage-to-cloud/admin/channels/class-w2cloud-gcs-process.php:98
w2cloud_GCS_Process::gcs_delete_object()
wp-content/plugins/wp-media-storage-to-cloud/admin/class-w2cloud-media-control.php:229
w2cloud_media_control::w2cloud_delete_media()
wp-includes/class-wp-hook.php:289
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:484
do_action()
wp-includes/post.php:5940
wp_delete_attachment()
wp-admin/upload.php:194