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.
Advanced search gives a fatal error:
Fatal error: Call to undefined function: format_name() in /var/www/drupal/modules/flexinode/flexinode.module on line 1164
Comment | File | Size | Author |
---|---|---|---|
#2 | flexinode_adv_search_0.patch | 1.26 KB | Steve Dondley |
#1 | flexinode_adv_search.patch | 4.24 KB | Steve Dondley |
Comments
Comment #1
Steve Dondley CreditAttribution: Steve Dondley commentedThis bug shows up when using Drupal HEAD version. The CVS version of the flexinode module needs to become compliant with newer DRUPAL API. This patch updates the code used by the advanced search so that the feature works with the new Drupal API.
Someone more familiar with the new API than me should review this.
Comment #2
Steve Dondley CreditAttribution: Steve Dondley commentedSorry, the above patch had another patch mixed up in it. Please use this one.
Comment #3
Bèr Kessels CreditAttribution: Bèr Kessels commentedSteve, thank you.
One issue: in HEAD (4.7) we don't print or return theme_page; just returning $output is enough.
Bèr
Comment #4
drummNeed fix the theme_page() call which berkes mentioned.