index.php?action=admin;area=manageattachments;sa=attachpaths; gives a white page, at least on this site..
Related Error log:
Notice: The parent constructor was not called: the object is in an invalid state
File: .../sources/subs/ManageAttachments.subs.php
Line: 1278
PHP bug: https://bugs.php.net/bug.php?id=55701
But I guess we have to have that one fixed...
Not sure how this call is any different from the several others, except it may hit an empty directory... but addons would do as well... :-\
ah ok, found a solution here http://stackoverflow.com/questions/22320103/globiterator-no-file-found-php-5-3-7-error
I haven't tested yet but it should work:
$num_files = $glob->count();
replace with:
$num_files = count(iterator_to_array($glob));
I'd send a PR but my DEV client is currently badly broken.. I'll try to rebuild the box during the next days, it's about time for a comeback :)
No problem I have a series of commits pending (I tend to commit, upload the file here, wait to push), I'll add that too and upload the file this afternoon. ;D
da08aa00a39507909e09305c1d2f7e085980ce6e
The commit hash. (i.e. A unique hash that identifies a particular commit, in that case the commit that fixed the issue. No link because it's still on my computer, but https://github.com/elkarte/Elkarte/commit/da08aa00a39507909e09305c1d2f7e085980ce6e will show it... leter. :P)