Closed (fixed)
Project:
Announcements
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2012 at 08:01 UTC
Updated:
24 Sep 2012 at 20:41 UTC
After updating the module to 7.x-1.x-dev and running update.php the following error message is thrown:
PHP Fatal error: Cannot redeclare system_update_last_removed() (previously declared in /var/www/html/cm7/sites/all/modules/announcements/announcements.install:87) in /var/www/html/cm7/modules/system/system.install on line 1680
I renamed this "hook_update_last_removed" function to announcements_update_last_removed and the error did not occur anymore.
Comments
Comment #1
nancydruThat's the correct thing to do. But you will find that the module does not function yet.
Comment #2
nancydruThanks for the report