After updating the module, I'm getting these notices:

Notice: Undefined index: #rows in weight_node_admin() (line 154 of /var/www/vhosts/domain.com/subdomains/preview/httpdocs/sites/all/modules/weight/weight.module).
    Warning: Invalid argument supplied for foreach() in weight_node_admin() (line 154 of /var/www/vhosts/domain.com/subdomains/preview/httpdocs/sites/all/modules/weight/weight.module).

When viewing the content overview (admin/content) I was getting these notices as well (about 50 of them under each other):

Notice: Undefined index: weight in theme_tableselect() (line 3210 of /var/www/vhosts/domain.com/subdomains/preview/httpdocs/includes/form.inc).
    Notice: Undefined index: weight in theme_tableselect() (line 3210 of /var/www/vhosts/domain.com/subdomains/preview/httpdocs/includes/form.inc).
    Notice: Undefined index: weight in theme_tableselect() (line 3210 of /var/www/vhosts/domain.com/subdomains/preview/httpdocs/includes/form.inc).

Also: the capabalitity to assign a weight in the overview is gone. The column is still there, but it's empty.

All this happened after the update. Right after enabling the module I've run an update.php which told me there was one update (7207 - Remove unneeded weight field).

After the errors occured I disabled the module again, uninstalled it, re-enabled it, ran update.php ("no updates"), but all the mentioned errors are still there.

What's the best I can do at the moment?

CommentFileSizeAuthor
Can't assign weight41.72 KBknalstaaf

Comments

davisben’s picture

Status: Active » Closed (duplicate)

This should be fixed in the latest dev release. See #1539144: Multiple error messages.

davisben’s picture

Issue summary: View changes

domain

knalstaaf’s picture

Version: 7.x-2.x-dev » 7.x-2.0-rc2

You're right, thanks!

(Picked wrong version in starting post, changing...)

knalstaaf’s picture

Issue summary: View changes

exact update