Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP-Stateless Incompatible w/ WP Inline Uploader #675

Closed
cmdshepard opened this issue Aug 30, 2023 · 2 comments
Closed

WP-Stateless Incompatible w/ WP Inline Uploader #675

cmdshepard opened this issue Aug 30, 2023 · 2 comments
Assignees
Milestone

Comments

@cmdshepard
Copy link

cmdshepard commented Aug 30, 2023

Summary

WP-Statelss doesn't upload media in ephemeral and stateless mode when using the inline uploader (Media -> Library -> Add New).

Other modes were not tested. With debug enabled, no error is displayed in the logs.

When navigating to media-new.php to upload an asset, the plugin correctly uploads the media to GCP bucket.

Technical Details

  • Apache
  • Wordpress v6.3.1
  • PHP v8.1.17 (Also tested with PHP 7 which has the same issue)
  • WP-Stateless v3.2.4

Steps to Reproduce

On a fresh instance of WordPress with no other plugins installed, install WP-Stateless & set it up using Manual mode.

Set the mode to ephemeral or stateless.

Navigate to the inline uploader by visiting /wp-admin/upload.php.

Trigger the inline uploader by clicking Add New.

Attempt to upload the media - the media will not be uploaded to GCP.

Now navigate to /wp-admin/media-new.php.

Add a file to upload - the media will be uploaded as expected.

@planv planv added this to the v3.2.5 milestone Sep 25, 2023
@planv planv assigned planv and balexey88 and unassigned planv Sep 25, 2023
@ewsopp
Copy link
Member

ewsopp commented Sep 29, 2023

This is fixed and will be released in the next version. Thank you!

balexey88 added a commit that referenced this issue Oct 2, 2023
…absent. #608 FIX - Folder setting does not allow custom structure
planv added a commit that referenced this issue Oct 16, 2023
#675 FIX - file upload craches when 'uploads' dir is not writable or …
@planv planv mentioned this issue Oct 16, 2023
@planv
Copy link
Contributor

planv commented Oct 17, 2023

Fix was released with version 3.2.5
Closing the ticket.

@planv planv closed this as completed Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants