Unable to add album since upgrading to wordpress 3.1 (3 posts)

  1. jphoto
    Posted 5 years ago #

    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.

  2. jphoto
    Posted 5 years ago #

    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).

  3. David Radovanovic
    Posted 5 years ago #

    same here though addt'l errors;

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shashin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic