I updated from beta 16 to beta 17, ran update, emptied all caches from the database, backed up the database, then ran a full export in the configuration manager. This did not produce a file, and resulted in this error:
Recoverable fatal error: Argument 1 passed to Drupal\file\FileUsage\DatabaseFileUsageBackend::listUsage() must implement interface Drupal\file\FileInterface, boolean given, called in /PATH_TO/modules/yamlform/src/Plugin/YamlFormElement/ManagedFile.php on line 481 and defined in Drupal\file\FileUsage\DatabaseFileUsageBackend->listUsage() (line 98 of core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php).
I downgraded to beta 16, ran update, same database backup procedure, then a full export in the configuration manager worked normally.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fatal_error_exporting-2805763-3.patch | 672 bytes | jrockowitz |
Comments
Comment #2
echoz commentedComment #3
jrockowitz commentedDarn. I forgot to handle file uris that are not found in the files table.
The attached patch should pass and I will tag a new release since this is a fatal error.
Comment #5
jrockowitz commentedThanks for reporting this issue so that I could fix it ASAP. I tagged a new release.
Comment #6
echoz commented@jrockowitz, thanks for this excellent module! The entire presentation of this project is over the top impressive :-)