NextGen Gallery fails to create new gallery

For some reason the slug field was missing in the wp_6_ngg_gallery on one of my WordPress multisite blogs.

The fix . . .

ALTER TABLE `wp_6_ngg_gallery` ADD `slug` VARCHAR( 255 ) NULL AFTER `name`;
ALTER TABLE `wp_6_ngg_pictures` ADD `image_slug` VARCHAR NOT NULL AFTER `pid`

Leave a Reply