Support » Plugin: Shashin » [Plugin: Shashin] Unable to add album since upgrading to wordpress 3.1

  • I upgraded my wordpress version from 3.0.x to 3.1, but now I cannot add an album to shashin. I get the “Failed to insert/update database record for album. SQL Error:” error.

    From other posts I read to use the var_dump function to log the sql, so here it is:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    It so happens I am adding the 17th album.

Viewing 2 replies - 1 through 2 (of 2 total)
  • For the sql see http://pastebin.com/1MnDbi7Q

    The problem seems to be in the shashinalbum.php setAlbum method. The album_data variable contains an array of all available albums. If I change the variables for the sqlInsert method in line 210 to use the correct index in albumdata it works fine (but only for one album of course).

    same here though addt’l errors;

    Warning: Invalid argument supplied for foreach() in …/plugins/shashin/display/admin-edit.php on line 85

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Shashin] Unable to add album since upgrading to wordpress 3.1’ is closed to new replies.