Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Uploads Not Working #3

@ZY-Ang

Description

@ZY-Ang

Hey Keita, thanks for this. This is a great project and POC for wordpress on serverless!

I got everything to work on lambda except uploads. Uploads of pngs/jpg types time out at the default limit of 30s with not much error log output even after initializing handler.php with ob_implicit_flush(). Something is definitely causing uploads to hang and the buffer does not flush.

I'm debugging probable causes and I notice your php layer is utilizing 73:11 from your own account. where I am using stackery's 73:3 layer in ap-southeast-1. Could this be the issue? Or did you install any other dependencies like phpgd or ImageMagick for the s3-uploads plugin to work?

I think another reason is probably some setting that is changed directly on the wordpress console. If you did and still remember what you changed, could you share it? It would be of great help! :)

Edit: It seems stackery already merged your PR, so 73:3 should already include your changes, so... I'm not sure what's up.

Edit 2: Tested on both wordpress 5.2.1 (your version) and 5.3.2. Same issue in both for uploads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions