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.
While using the "Search by Page" module to search users, each user that comes up throws a PHP warning:
warning: Invalid argument supplied for foreach() in /u/sites/keithferrazzi_dev/webroot/sites/all/modules/contrib/me/me.module on line 223.
On line 223, there is a foreach check:
foreach ($router_item['load_functions'] as $index => $function) { ... }
What this patch does is place that foreach inside of a if (is_array($router_item)) { .. }
check.
Comment | File | Size | Author |
---|---|---|---|
me-array-check.patch | 961 bytes | Offlein |