Closed (fixed)
Project:
Weight
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2013 at 19:40 UTC
Updated:
10 Mar 2013 at 20:47 UTC
Hello,
Issue was found in Weight 7.x-2.2+4-dev:
Notice: Undefined index: weight_menu in _weight_set_weight() (line 533 of sites/all/modules/weight/weight.module).
Line 533 of weight.module probably should look like this:
if (isset($settings['menu_weight'])) {
Thank you.
Comments
Comment #1
davisbenCan you confirm the error message you posted is correct? There is no index "weight_menu" anywhere in the _weight_set_weight() function and line 533 uses "menu_weight".
Comment #2
yurg commentedIt's probably because Weight 7.x-2.2+4-dev version was installed via Drush dl instead of most recent 7.x-2.2. Going to update Weight manually. Thank you.
Comment #3
yurg commenteddeleted - double postComment #4
yurg commentedSpoke too soon: error appeared again even after Weight module update up to 7.22:
There is additional information which may help: error appeared when I tried to save Views generated page with reordered node titles. Error was gone after line 520 change:
Thanks.
Comment #5
davisbenThis has been committed to 7.x-2.x.
Comment #6
yurg commentedComment #6.0
yurg commentedMarkup change