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.
I've got the error that while_entity_info() is not found in hook while_uninstall() when I uninstall the module.
Comment | File | Size | Author |
---|---|---|---|
#1 | while_uninstall_2465033_1.patch | 482 bytes | a.milkovsky |
Comments
Comment #1
a.milkovskyWe need to load module file for the function to be found.
Comment #2
TolstoyDotCom CreditAttribution: TolstoyDotCom as a volunteer commentedI also added
if (db_table_exists('white_type')) {
before the db_select in while_entity_info, with the closing brace after the foreach.