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.
Hook_requirements in aes.install is missing a value for value
Notice: Undefined index: value in theme_status_report() (line 2555 of /var/www/modules/system/system.admin.inc).
A print_r($requirement) when value is undefined results in:
Array
(
[title] => AES encryption implementation
[description] => The AES encryption module requires at least one of two things to function: Either the PHP Mcrypt extension has to be installed on the web server. Or the PHP Secure Communications Library (phpseclib) needs to be installed in the AES directory. Check the README.txt for more information.
[severity] => 0
)
value needs to be set.
Comment | File | Size | Author |
---|---|---|---|
#1 | aes_status-notice-1376738-1.patch | 1.31 KB | 13rac1 |
Comments
Comment #1
13rac1 CreditAttribution: 13rac1 commentedAttached patch fixes notice by setting value. Code code use additional details to specify which AES implementation is in use, but it isn't necessary.
Comment #2
13rac1 CreditAttribution: 13rac1 commentedBah! Dupe of #1139688: aes_requirements() not implemented correctly.. At least people can search for the error now...