reBlog is a nice server side aggregator based on Feed-on-Feeds. What you can do with it is to put your favorites feeds on, choose posts you like, comment on them or tag them and publish them all together later in a new feed. It’s pretty handy if you like to publish a feed with posts you’d like to write about, but you dont have time to..
All nice and pretty until you hit the “Publish Feed” link and instead of your feed you get an error:
Warning: Unknown class passed as parameter in …/reBlog/refeed/library/RF/ClientController.class.php on line 740
reBlog is in Beta as yet, so such things are meant to happen. After looking at the source code for a few minutes I found the offending snippet.
Well, you need to open the the file ClientController.php in library/RF directory which is found in your reBlog installation.
Go to line 737 and find the following snippet:
if(is_subclass_of($ARGS['user'], 'RF_User'))
return $ARGS['user'];
if(is_numeric($ARGS['user']))
return new RF_User(array('id' => intval($ARGS['user'])));
and put the last two lines before the first two so it looks like:
if(is_numeric($ARGS['user']))
return new RF_User(array('id' => intval($ARGS['user'])));
if(is_subclass_of($ARGS['user'], 'RF_User'))
return $ARGS['user'];
Save the file and try to click again on “Publish feed” link. You should be up and running now. You are all set!