Closed (duplicate)
Project:
SimpleFeed
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2007 at 17:18 UTC
Updated:
27 Mar 2007 at 22:27 UTC
Somehow I'm still seeing implode errors for simplefeed even though I thought it was fixed at one point. Am using the latest development version of simplefeed (simplefeed_item.module,v 1.13 2007/03/10 02:06:31) and this is what I'm seeing in the watchdog:
implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in /home/topsac/public_html/modules/contrib/simplefeed/simplefeed_item.module on line 360.
Comments
Comment #1
Caleb G2 commentedWhoever thought of the name "implode" for that php function should have considered what that would look like as an error - to someone who didn't know better it leaves the impression that their site is about to burst into flames. (Oh, **it - my site is imploding!!!)
;)
Comment #2
m3avrck commentedI can't reproduce this, got the feed URL that is causing the problems?
Or try outputting $item->get_categories() in simplefeed_item.module and see what's in the array... junk?
Comment #3
Caleb G2 commentedUnfortunately no, I don't have the feed url - I've got too many feeds going right now to be able to tell and the error message doesn't specify.
If you can give me a more precise string to plug into the simplefeed_item.module and a line number to place it at, I'll give it a go...
Comment #4
m3avrck commentedLine 358, right after the variable get, try this
watchdog('simplefeed', print_r($item->get_categories()), WATCHDOG_ERROR, l('view', 'node/'. $process_feed->nid));Comment #5
Caleb G2 commentedSo I made it look like this:
And then I manually updated a feed and then went to the watchdog. The usual implode error was there and along with it was a message that simply reads, "1".
Hopefully I did this right and it means something...(?)
Comment #6
m3avrck commentedCan you past the full details? Copy/paste the code?
is it array([1] ==> 1) or something?
Comment #7
Caleb G2 commentedHm. There entire message was literally, "1". That's it.
Did the code I pasted in (see my previous response) seem like it was correct?
Comment #8
m3avrck commentedDoh! Seems to be me hardcoding something.
http://drupal.org/node/127374