- Issue created by @mikemadison
- πΊπΈUnited States phenaproxima Massachusetts
This might not be in Drupal CMS's scope; it may well be a bug or other problem in the Trash module itself. Should we move it to their issue queue?
- π¦πΊAustralia pameeela
Have you tried installing Trash on a vanilla Drupal site in the same environment? Drupal CMS isn't doing anything to alter things. Maybe the Trash folks have an idea.
- First commit to issue fork.
- Merge request !34Check if there are any generated storage handlers before trying to delete them. β (Merged) created by amateescu
- π·π΄Romania amateescu
@mikemadison, can you check if the MR above fixes the problem for your environment?
- πΊπΈUnited States mikemadison Seattle, WA
unfortunately this did not resolve the issue. I wrote a very basic patch for my version that seems to "work" (or at least work around the fatal error). This simply comments out:
//PhpStorageFactory::get('trash')->deleteAll();
- πΊπΈUnited States tim.plunkett Philadelphia
This could use a new title, since it's not specifically about Drupal CMS.
We're tracking it, however, using a new tag. - π·π΄Romania amateescu
@mikemadison, is there any way to replicate your environment using DDEV? I'd like to get this problem fixed but it's kinda impossible without being able to debug it :)
- π·π΄Romania amateescu
@mikemadison, I've pushed a commit with another approach to the MR, can you try that one as well?
- Status changed to Needs review
18 days ago 6:03pm 9 July 2025 - πΊπΈUnited States balsama boston
I just came across this problem again in a hosting environment with a shared filesystem. I tried out a patch from !34 and was able to successfully install! (without the patch from !34, the install fails).
I'm hesitant to mark this RTBC because I haven't reviewed the code or fully tested. Marking as NR for now. I'll bring this patch into the project I'm working on and see if we have any other issues as well.
Thanks!
- πΊπΈUnited States balsama boston
Tested more thoroughly and this is working great. We're now pulling this patch in to https://github.com/acquia/drupal-cms-project
-
amateescu β
committed 5dfa5058 on 3.x
Issue #3493912 by amateescu, mikemadison, balsama: Drupal CMS...
-
amateescu β
committed 5dfa5058 on 3.x
Automatically closed - issue fixed for 2 weeks with no activity.