Hi,
I have created a custom module which creates a new stream using hook_heartbeat_stream_info(). The stream is coming up nicely on heartbeat/streams page and on user's profile page.
But when i uninstall this custom module, the stream is no longer visible on streams page(a correct behavior) but it gives the below error on the home page.
Recoverable fatal error: Argument 1 passed to heartbeat_plugins_heartbeat_stream_load() must be an instance of HeartbeatStream, null given in heartbeat_plugins_heartbeat_stream_load() (line 372 of /var/www/dr7/sites/all/modules/heartbeat/modules/heartbeat_plugins/heartbeat_plugins.module).
Comment | File | Size | Author |
---|---|---|---|
heartbeat.png | 143.66 KB | chhavik |
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedThis should be fixed in dev. Can you checkout that version and close this issue if it is fixed there?
Thx
Comment #2
chhavik CreditAttribution: chhavik commentedThanks for your quick reply Stalski. Will checkout the dev version and then update this issue accordingly.
Comment #3
chhavik CreditAttribution: chhavik commentedStalski,
Now i am no more getting the above error with the dev version. But on uninstalling the module, my custom stream is still visible on "/heartbeat/streams" page . And i have to explicit click on the delete button to remove it from the database, which was not the case with previous 7.x-1.0 version.
Let me know how to fix this issue, should i trigger a delete query in .install file or is this something that can be fixed within the module itself.
Regards.
Comment #4
chhavik CreditAttribution: chhavik commentedClearing the cache solved the last problem. Thanks.
Comment #5
Stalski CreditAttribution: Stalski commentedI was going to suggest that. It's still in the ctools cache. So heartbeat needs to invoke that after uninstall.
thx for the check!