Missing argument 1 for og_aggregator_page_sources() in 'PATH_TO_MODULE'\og_aggregator\og_aggregator.module on line 739.

The juicy part is this:
Apparently $fid is always empty!

function og_aggregator_page_sources($fid) {
$feed = db_fetch_object(db_query('SELECT * FROM {og_aggregator_feed} WHERE fid = %d', $fid));
$info = theme('og_aggregator_feed', $feed);
print arg(3);
return _aggregator_page_list('SELECT * FROM {og_aggregator_item} WHERE fid = '. $feed->fid .' ORDER BY timestamp DESC, iid DESC', arg(3), $info);

CommentFileSizeAuthor
#6 error_5.png61.61 KByanisdon
#4 error_4.png59.25 KByanisdon

Comments

zagorot’s picture

Assigned: Unassigned » zagorot

I got it fixed.

resolution:
$items[] = array(
'path' => 'og_aggregator/sources',
'title' => t('sources'),
'callback' => 'og_aggregator_page_sources',
'type' => MENU_CALLBACK, /* this is the missed part, it should be MENU_CALLBACK */
'access' => TRUE);

Thanks for your report :)

zagorot’s picture

Status: Active » Fixed

I got it fixed.

resolution:
$items[] = array(
'path' => 'og_aggregator/sources',
'title' => t('sources'),
'callback' => 'og_aggregator_page_sources',
'type' => MENU_CALLBACK, /* this is the missed part, it should be MENU_CALLBACK */
'access' => TRUE);

Thanks for your report :)

yanisdon’s picture

Thanks

yanisdon’s picture

Status: Fixed » Active
StatusFileSize
new59.25 KB

Still same error.

yanisdon’s picture

Still same error.

yanisdon’s picture

StatusFileSize
new61.61 KB

Still same error.

zagorot’s picture

Status: Active » Fixed

hi, og_aggregator_page_sources() function have been rewrited in new release.

please download latest version and reinstall it (currently it's 5.x-1.0-2).

yanisdon’s picture

well done. Thanks.

zagorot’s picture

Status: Fixed » Closed (fixed)