i found it was related to this https://github.com/Elgg/Elgg/issues/5207 and now got the resolution.
Your file needs a filename. As the function states getFilenameOnFilestore() it will return false if you don't have a filename.
If you were using this to get the correct directory to put stuff in, you were doning the same as Tidypics. This was patched in Tidypics
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.