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);
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | error_5.png | 61.61 KB | yanisdon |
| #4 | error_4.png | 59.25 KB | yanisdon |
Comments
Comment #1
zagorot commentedI 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 :)
Comment #2
zagorot commentedI 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 :)
Comment #3
yanisdon commentedThanks
Comment #4
yanisdon commentedStill same error.
Comment #5
yanisdon commentedStill same error.
Comment #6
yanisdon commentedStill same error.
Comment #7
zagorot commentedhi, 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).
Comment #8
yanisdon commentedwell done. Thanks.
Comment #9
zagorot commented