Other than turning warnings off.. what can I do in my code to get rid of this error:
warning: filesize() [function.filesize] stat failed for .... on line 152
The code is:
$store_filesize = filesize($file->filepath);
I'm not sure if this is what you want (e.g. I'm not clear if you want to work out why it's happening and work around it) but if you are just looking to suppress errors you can usually use @ in front of the function name.
e.g.
$store_filesize = @filesize($file->filepath);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With