I am running Drupal 7.2 and get this error whenever I save a setting in 'me' module. I get it in both beta and dev. It seems to also pop up sometimes when I am changing other setting on my Drupal site having nothing to do with 'me'

Just a heads up something may awry. 'Me' seems to be functioning otherwise. Error message:

    * Notice: Undefined index: page arguments in me_menu_alter() (line 366 of /home/desierto/public_html/home/sites/all/modules/me/me.module).
    * Warning: array_merge() [function.array-merge]: Argument #2 is not an array in me_menu_alter() (line 366 of /home/desierto/public_html/home/sites/all/modules/me/me.module). 

Comments

desierto’s picture

It also pops up when I clear the cache.

nohup’s picture

Status: Active » Closed (fixed)
StatusFileSize
new5.47 KB

Attached patch committed to git.

wiifm’s picture

Thankyou for this patch, it has saved me a lot of issues with errors on drush cc all ;)

I still get one error though -

WD php: Notice: Undefined index: page arguments in me_menu_alter() (line 352 of /var/www/nzpost/sites/all/modules/contrib/me/me.module).

Should I open another issue, or are you happy to keep this one?

aangel’s picture

I get the same error after applying the patch to beta2 and enabling the module.

Notice: Undefined index: page arguments in me_menu_alter() (line 361 of /Users/aangel/LocalDevelopment/htdocs/ppl-78/sites/all/modules/me/me.module).

I'll report back if the functionality seems impaired.

nohup’s picture

All issues were fixed in the dev branch. I just did the first 7.x.1 release, please use that.

aidanlis’s picture

Version: 7.x-1.x-dev » 6.x-2.x-dev
Status: Closed (fixed) » Active

This doesn't seem fixed in 6.x?

aidanlis’s picture

Status: Active » Needs review
StatusFileSize
new368 bytes

Quick fix ...

nohup’s picture

Status: Needs review » Fixed

patch committed. thanks

Status: Fixed » Closed (fixed)

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