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.
When installing Drupal 7 with more than one language active, the following error appears once you try to upload a new document:
Notice: Undefined index: en in _document_get_node_terms() (line 635 of C:\Programas\wamp\www\Salvis_mal\modules\document\document.module).
The document uploads but with an empty value on the "type" field.
I tried to go back to an only english installation and the problem was solved, so it´s quite clear the problem only appears when you have more than one language installed.
I´ll appreciate any help to solve this!
Comment | File | Size | Author |
---|---|---|---|
#1 | document_7.x-1.x.patch | 5.47 KB | b1101 |
Comments
Comment #1
b1101 CreditAttribution: b1101 commentedComment #2
r_honey CreditAttribution: r_honey commentedHi ablheza, a series of fixes have recently been committed for D7 version. Your issue should now be resolved.