Cannot use SplFileObject with directories

Created on 2 March 2023, about 2 years ago

Problem/Motivation

When running drush updatedb, we have been encountering the following error:

 [notice] Database updates start.
> 
> In ExtensionDiscovery.php line 445:
>                                              
>   Cannot use SplFileObject with directories  
>                                              
> 

In SiteProcess.php line 214:
                                                                               
  The command "/var/lib/tugboat/vendor/bin/drush updatedb --no-cache-clear --  
  yes --uri=SITENAME --root=/var/lib/tugboat/web" failed.                           
                                                                               
  Exit Code: 1(General error)                                                  
                                                                               
  Working directory:                                                           
                                                                               
  Output:                                                                      
  ================                                                             
                                                                               
                                                                               
  Error Output:                                                                
  ================                                                             
                                                                               
  In ExtensionDiscovery.php line 445:                                          
                                                                               
    Cannot use SplFileObject with directories  

Steps to reproduce

This has been hard to reproduce consistently, but we have been tracking occurrences of this error since January 2023.

Proposed resolution

TBD

πŸ› Bug report
Status

Active

Version

10.0 ✨

Component
ExtensionΒ  β†’

Last updated about 1 hour ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States markdorison

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024