I've been getting lots of these types of errors when running Drush commands:

Notice: Undefined index:  Address in profile_category_weight_menu_alter() (line 124 of sites/all/modules/contrib/profile_category_weight/profile_category_weight.module).

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new4.79 KB

Here's a patch that wraps lots of code blocks with if(!empty($variable)) checks.

damienmckenna’s picture

StatusFileSize
new5.52 KB

Some more if(isset()) statements.

damienmckenna’s picture

StatusFileSize
new6.13 KB

Should be the final one.