warning: Invalid argument supplied for foreach() in /http/suncampus/site/_htdocs/includes/menu.inc on line 258.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /http/suncampus/site/_htdocs/includes/menu.inc on line 323.
warning: Missing argument 1 for drupal_get_form() in /http/suncampus/site/_htdocs/includes/form.inc on line 69.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /http/suncampus/site/_htdocs/includes/form.inc on line 358.

That appeared after upgrade from Drupal5 to Drupal6.
As one can find by Goggle the first error is quite spread among v6 modules.
Hope you someone can fix this. Thanx!

CommentFileSizeAuthor
#7 commentrss-6.x-1.0.patch762 bytesyaph

Comments

scbarber’s picture

Line 39 of comentrss.module should read:

    'page arguments' => array('commentrss_admin_settings'),
BlueNC’s picture

I'm having the same problem, and updating line 39 of the commentrss.module doesn't change the error messages.

BlueNC’s picture

Or maybe it did. I disabled all caching and went back to the setting page and voila!

domesticat’s picture

Just a confirmation. I saw the same warning. The fix in #1 corrected it after I cleared the cache.

Anonymous’s picture

Yep, it works.

tjharman’s picture

I can confirm doing this fixes the issue, once the cache is cleared.

yaph’s picture

Component: Miscellaneous » Code
Status: Active » Needs review
StatusFileSize
new762 bytes

Here is a patch to fix this issue

Anonymous’s picture

I attempted to apply this patch to my installation but the same error was returned. I cleared my browser cache. I have upgraded to 6.4. Is there a difference between 6.4 and the 6.x the patch was originally written to work with?

tjharman’s picture

It's not your browser cache you have to clear, but the cache built into Drupal.

Navigate to admin/settings/performance

(Or just click "Performance" from the Admin menu screen) - scroll down and click the "Clear cached data" button.

Anonymous’s picture

That fixed it! Thanks very much.

gábor hojtsy’s picture

Status: Needs review » Fixed

Also realized myself, and shipped in 6.x-1.1. Please upgrade.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.