Getimagesize() - read error

前端 未结 1 836
庸人自扰
庸人自扰 2021-01-22 17:33

So I\'m doing some maintenance on other people\'s legacy code, and I\'ve fixed some basic permissions issues, however now in an image uploader, I\'m getting the following error:

1条回答
  •  难免孤独
    2021-01-22 18:35

    I've seen this before, and for me it was a memory issue, failing in the method:

    _getNeedMemoryForFile
    

    Probably the safest bet is to wrap to try-catch and handle the exception as gracefully as possible.

    0 讨论(0)
提交回复
热议问题