Closed (fixed)
Project:
Deindex unpublished files
Version:
1.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2026 at 13:33 UTC
Updated:
21 Aug 2026 at 12:15 UTC
Jump to comment: Most recent
Comments
Comment #3
nickdickinsonwildeComment #4
vinodhini.e commentedHi,
I tested by creating and editing Media items on Drupal 11 with the Deindex Unpublished Files module enabled, but I was unable to reproduce any runtime error. Could you provide the exact Media configuration or steps used to trigger the issue?
Thanks.
Comment #5
scarymonster72 commentedI got a similar error on Drupal 10.6.12:
Drupal\deindex_unpublished_files\Hook\MediaHooks::getFileExistsMode(): Return value must be of type int, Drupal\Core\File\FileExists returned in Drupal\deindex_unpublished_files\Hook\MediaHooks->getFileExistsMode() (line 140 of modules/contrib/deindex_unpublished_files/src/Hook/MediaHooks.php)
Comment #6
lara_z commentedThis has been merged , and a new stable release has been published containing these updates.Thanks for the fixes