• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Issue rebuilding addons / performing file integrity check

#1
I seem to be getting this error quite often

League\Flysystem\FileExistsException: File already exists at path: file_check/temp-file-check-2.json in src/vendor/league/flysystem/src/Filesystem.php at line 401

What am I getting wrong?
 

Mike

XenForo developer
Staff member
#2
You should be able to fix this by changing this line in src/XF/Job/FileCheck.php:
Code:
$fs->write($fileCheck->getAbstractedCheckPath(true), json_encode($results));
to:
Code:
$fs->put($fileCheck->getAbstractedCheckPath(true), json_encode($results));