Fixed Error Message when i Rebuild Caches

Lemminator

Well-known member
Affected version
RC2
League\Flysystem\FileNotFoundException: File not found at path: attachments/1/1210-0c7701cd5d44bc0d8a90d41e6136fa32.data in src/vendor/league/flysystem/src/Filesystem.php at line 385
  1. League\Flysystem\Filesystem->assertPresent() insrc/vendor/league/flysystem/src/Filesystem.php at line 193
  2. League\Flysystem\Filesystem->readStream()
  3. call_user_func_array() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 431
  4. League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 395
  5. League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 154
  6. League\Flysystem\EventableFilesystem\EventableFilesystem->readStream()
  7. call_user_func_array() insrc/vendor/league/flysystem/src/MountManager.php at line 269
  8. League\Flysystem\MountManager->invokePluginOnFilesystem() insrc/vendor/league/flysystem/src/MountManager.php at line 179
  9. League\Flysystem\MountManager->__call() in src/XF/Util/File.php at line91
  10. League\Flysystem\MountManager->readStream() in src/XF/Util/File.phpat line 91
  11. XF\Util\File::copyAbstractedPathToTempFile() insrc/XF/Job/AttachmentThumb.php at line 46
  12. XF\Job\AttachmentThumb->run() in src/XF/Job/Manager.php at line 241
  13. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line187
  14. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 76
  15. XF\Job\Manager->runQueue() in src/XF/Admin/Controller/Tools.php at line 139
  16. XF\Admin\Controller\Tools->actionRunJob() insrc/XF/Mvc/Dispatcher.php at line 249
  17. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
  18. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  19. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1863
  20. XF\App->run() in src/XF.php at line 328
  21. XF::runApp() in admin.php at line 13
 
This looks like an orphaned attachment which no longer has a file on the file system. We'll just skip them when rebuilding thumbs.
 
Back
Top Bottom