Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have some specific code importing vocabulary terms during an installation. So far the terms were imported succesfully but with the latest dev version of taxonomy_csv, a fatal error happens. I will provide a patch and more explanations in this issue...
Comment | File | Size | Author |
---|---|---|---|
#1 | fatal_error-1502856-1.patch | 1.12 KB | guillaumev |
Comments
Comment #1
guillaumev CreditAttribution: guillaumev commentedHere is a patch which shows the error and its fix: the issue was that $options['worst_level'] was not set, resulting in $messages[$worst_level] not existing and therefore $message not being set and the watchdog call below not working and causing a fatal error...
Let me know if this is unclear...
Comment #2
Daniel_KM CreditAttribution: Daniel_KM commentedHi,
I commit your patch, but I think it's linked to another problem. Nevertheless, as I'm going to simplify the result process, this patch is currently sufficient.
Sincerely,
Daniel Berthereau
Infodoc & Knowledge management