So I did update to the newest version of Windows 10 and all the loading/listing file operations like
do not work anymore, in the case of glob the returning array is empty while scandir is throwing an error:
PHP Warning: scandir(): Die Datei oder das Verzeichnis ist kein Analysepunkt. (code: 4390) in
file_get_contents is throwing cannot read the file content:
file_get_contents(): failed to open stream: No such file or directory in
The operation did work just fine before upgrading to the new os version and the operation still works on another computer with an older OS (Windows 10 Pro Version 1803 Build 17134.829) and PHP Version (7.3.3).
The problem occurs on another machine as well with the same OS Version. This machine did not update php yet and is using version 7.2.9.
The folders are located in a OneDrive sync folder but the files are set to "keep on disk" to prevent any errors with files not present yet.
@edit I did add missing information about the OneDrive
This is a PHP bug #78220 related to onedrive, it was fixed starting from versions 7.3.10 & 7.2.23
http://bugs.php.net/78220
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