The following updates returned messages
weight module
Update #7205

Failed: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1: SELECT COUNT(nid) FROM {node} WHERE type IN (); Array ( ) в функции weight_update_7205() (строка 208 в файле /home/host6280/public_html/sites/all/modules/weight/weight.install).

any ideas what does it mean?

Comments

davisben’s picture

Status: Active » Fixed

It looks like the error was caused by not having any content types enabled for weight. I added a check for this to the update function. It will be available in the next dev release, or you can get it from git now.

davisben’s picture

Assigned: Single » Unassigned
Single’s picture

Fixed? I do not see this error anymore

Now update hangs at 7205

The following updates returned messages
weight module
Update #7205

Failed: DatabaseSchemaObjectExistsException: Table weight_weights already exists in function DatabaseSchema->createTable() (str 652 in /public_html/includes/database/schema.inc).

Table really do exists already

davisben’s picture

I just committed a change to the 7205 update that will only try to create the table if it doesn't already exist. This should allow your update to process as expected.

Status: Fixed » Closed (fixed)

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

lunk rat’s picture

I had this error after upgrading to rc2. Went to 7.x-2.x-dev and update worked without error.