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

jackfoust created an issue. See original summary.

jackfoust’s picture

Title: PHPStorage issues during updates or site installs » PhpStorage issues during updates or site installs
Issue summary: View changes
amateescu’s picture

Status: Active » Closed (duplicate)
Related issues: +#3452414: Refactor storage class generation

If 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.

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.