Wrong datatype for second argument in feedapi.module
| Project: | FeedAPI |
| Version: | 6.x-1.2-beta2 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hey, I've install feedapi successful and have tested it on a few feeds without problems but I'm getting the following error on a few of the feeds....
warning: in_array() [function.in-array]: Wrong datatype for second argument in public_html/sthinstall4/modules/feedapi/feedapi.module on line 914.
Is this a bug or is this on my end? What other info do you need to debug?
Simpletest fails....
The node is created. at [/public_html/sthinstall4/modules/feedapi/feedapi_aggregator/feedapi_aggregator.module.test line 49] FAIL
The feed node is in the database at [/public_html/sthinstall4/modules/feedapi/feedapi_aggregator/feedapi_aggregator.module.test line 53] FAIL
The feed can be loaded. at [/public_html/sthinstall4/modules/feedapi/feedapi_aggregator/feedapi_aggregator.module.test line 55] FAIL
The source's page is empty before refreshing. at [/public_html/sthinstall4/modules/feedapi/feedapi_aggregator/feedapi_aggregator.module.test line 64] FAIL
The proper number of items were created. at [/public_html/sthinstall4/modules/feedapi/feedapi_aggregator/feedapi_aggregator.module.test line 68] FAIL
The third news title can be read at the source page. at [/public_html/sthinstall4/modules/feedapi/feedapi_aggregator/feedapi_aggregator.module.test line 71] FAIL
The proper number of items can be found in the database. at [/public_html/sthinstall4/modules/feedapi/feedapi_aggregator/feedapi_aggregator.module.test line 75] FAIL
Any help appreciated.

#1
The initial report was with 5.x-1.1. I am also experiencing this issue in my FeedAPI 6.x-1.2-beta2 .
There were some other symptoms I noticed...
It seems something minor changed in the XML source feed, though Safari 3.x and my newsreader both still process the feed data (URL and Title) properly.