1

When I upload image in server I get enter image description here:

stream_copy_to_stream(): Argument #2 ($to) must be of type resource, bool given
1
  • Hi @user13498! Is this issue relevant? If not, could you detail what you’re uploading to and how it’s configured?
    – Matt Stein
    Sep 21, 2022 at 17:05

1 Answer 1

1

Check the file permissions on your uploads directory. The apache/nginx user or group should have write permission.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.