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.
Problem/Motivation
Notice: Trying to access array offset on value of type null in Drupal\tfa\Plugin\views\field\TfaEnabledField->render() (line 59 of /app/web/modules/contrib/tfa/src/Plugin/views/field/TfaEnabledField.php).
Steps to reproduce
Reproducible on PHP 7.4.
- Use TFA field in a view.
- Load the view.
Proposed resolution
See accompanying MR.
Issue fork tfa-3215513
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
markdorisonComment #4
markdorisonComment #5
jcnventura CreditAttribution: jcnventura at 1xINTERNET commentedLooks good.
Comment #7
jcnventura CreditAttribution: jcnventura at 1xINTERNET commented