Closed (duplicate)
Project:
Trash
Version:
3.0.27
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 May 2026 at 15:05 UTC
Updated:
15 May 2026 at 19:40 UTC
Jump to comment: Most recent
Is anyone running into issues during Drupal updates or fresh site installs revolving around the PhpStorage files? I am constantly fighting issues like this, maybe its a Pantheon thing?
Fatal error: Cannot declare class Drupal__node__NodeStorageTrash6a04f7fc8e4
5e, because the name is already in use in /files/php/trash/Drupal__node__No
deStorageTrash6a04f7fc8e45e/rkrpjNRbtagCNS4xGLczkGe0svippcU1D1YbLPkC_98.php
on line 8
Comments
Comment #2
jackfoust commentedComment #3
amateescu commentedIf your site is on Drupal 11.3, you can use the 3.1.x branch of the module, which has improved handling of the Trash storage classes, see #3452414: Refactor storage class generation.
That's the only major difference between 3.0.x and 3.1.x, so that branch shouldn't be considered "unstable". Its main purpose is to drop legacy code by supporting only D11.3+, and it will start getting stable releases when #3376216: Translation support is done.
Closing as a duplicate of the referenced issue, but feel free to reopen if you bump into problems when using 3.1.x.