Skip to content

Struggling to get function runtime to cooperate with my PHP framework - Error "Handler /var/task/index.php must return a function or object handler" #1834

Closed Answered by dlm423
dlm423 asked this question in Support
Discussion options

You must be logged in to vote

It seems like I have to use the return statement: return new Lambdahandler() in the handler file otherwise the function is not recognized on Lambda.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dlm423
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant