Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare(), 1 passed in /home/somebod2/public_html/simonaugustine/wp-content/plugins/nextgen-gallery/lib/tags.php on line 315 and exactly 2 expected in /home/somebod2/public_html/simonaugustine/wp-includes/wp-db.php:1247
Stack trace:
#0 /home/somebod2/public_html/simonaugustine/wp-content/plugins/nextgen-gallery/lib/tags.php(315): wpdb->prepare('SELECT term_id ...')
#1 /home/somebod2/public_html/simonaugustine/wp-content/plugins/nextgen-gallery/nggfunctions.php(890): nggTags::find_images_for_tags(Array, 'RAND')
#2 /home/somebod2/public_html/simonaugustine/wp-content/plugins/nextgen-gallery/nggfunctions.php(1018): nggShowRelatedGallery('film-reviews', '0')
#3 /home/somebod2/public_html/simonaugustine/wp-content/plugins/nextgen-gallery/lib/shortcodes.php(138): nggShowRelatedImages()
#4 /home/somebod2/public_html/simonaugustine/wp-includes/plugin.php(235): NextGEN_shortcodes->convert_shortcode('<p>A <a href="h...')
#5 /home/somebod2/public_html/simo in /home/somebod2/public_html/simonaugustine/wp-includes/wp-db.php on line 1247