Jump to:
| Project: | Activity Stream |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Receiving the following error when using the generic feeds section of the module:
warning: Missing argument 1 for theme_activitystream_feed_icon() in PATH/sites/all/modules/activitystream/activitystream_feed/activitystream_feed.module on line 112.
I have created a view using activity stream nodes (I have a use case where I cannot use the regular block output for the user, but need to show a stream block when a node that is being used for node profile, and is currently associated to a particular user). Not sure if that has anything to do with this.
I am getting the RSS icon in the output and I get a warning for each one of the icons output.
As a quick fix I changed line 112 in activitystream_feed/activitystream_feed.module from:
function theme_activitystream_feed_icon($params) {
to:
function theme_activitystream_feed_icon($params=NULL) {
So there is a default value for the parameters. The warnings go away with this change. I have attached a patch.
| Attachment | Size |
|---|---|
| theme_activitystream_feed_icon.patch | 475 bytes |
Comments
#1
Fixed in dev
#2
In beta2