Problem/Motivation

[01-Jan-2026 17:17:56 UTC] Error: Call to undefined function trash_module_implements_alter() in /var/www/html/web/core/lib/Drupal/Core/Hook/HookCollectorPass.php on line 295 #0 /var/www/html/web/core/lib/Drupal/Core/Hook/HookCollectorPass.php(172): Drupal\Core\Hook\HookCollectorPass->calculateImplementations()
#1 /var/www/html/web/core/lib/Drupal/Core/Hook/HookCollectorPass.php(150): Drupal\Core\Hook\HookCollectorPass->writeToContainer(Object(Drupal\Core\DependencyInjection\ContainerBuilder))
#2 /var/www/html/vendor/symfony/dependency-injection/Compiler/Compiler.php(73): Drupal\Core\Hook\HookCollectorPass->process(Object(Drupal\Core\DependencyInjection\ContainerBuilder))
#3 /var/www/html/vendor/symfony/dependency-injection/ContainerBuilder.php(820): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Drupal\Core\DependencyInjection\ContainerBuilder))
#4 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(1519): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#5 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(1028): Drupal\Core\DrupalKernel->compileContainer()
#6 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(524): Drupal\Core\DrupalKernel->initializeContainer()
#7 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(743): Drupal\Core\DrupalKernel->boot()
#8 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#9 {main}

Steps to reproduce

1. Install Drupal 11.3.1
2. Update trash module to 3.0.23

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork trash-3565325

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dmitry.korhov created an issue. See original summary.

amateescu made their first commit to this issue’s fork.

amateescu’s picture

Status: Active » Needs review

@dmitry.korhov, can you check if the MR I just opened fixes the problem for you?

dmitry.korhov’s picture

Status: Needs review » Reviewed & tested by the community

@amateescu looks good, thanks

  • amateescu committed 0f6a7914 on 3.x
    fix: #3565325 Fatal error on Drupal 11.3.*
    
    By: amateescu
    By: dmitry....
amateescu’s picture

Status: Reviewed & tested by the community » Fixed

Merged into 3.x, thanks for testing!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.