Title: Error
Last modified: August 20, 2016

---

# Error

 *  Resolved [Jardry](https://wordpress.org/support/users/jardry/)
 * (@jardry)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/)
 * I am receiving multiple errors :
 * `Warning: in_array() expects parameter 2 to be array, string given in /home/MYDIRECTORY/
   public_html/wp-content/plugins/nextgen-gallery-powertags/nextgen-gallery-powertags.
   php on line 232.`
 * `Warning: Missing argument 2 for wpdb::prepare(), called in /home/MYDIRECTORY/
   public_html/wp-content/plugins/nextgen-gallery-powertags/nextgen-gallery-powertags.
   php on line 132 and defined in /home/garysoff/public_html/wp-includes/wp-db.php
   on line 990.`
 * `Warning: in_array() expects parameter 2 to be array, string given in /home/garysoff/
   public_html/wp-content/plugins/nextgen-gallery-powertags/nextgen-gallery-powertags.
   php on line 83.`
 * I have over 250 images in my gallery (if that is possibly causing the error to
   occur).
 * I then see my tag links and my gallery. I can click on the tag to filter by the
   tag, but it is above the first paragraph in my post and not where I inserted 
   the shortcode.
 * Any suggestions as to what I’ve done wrong.
 * [Site URL](http://garysoffice.com/travellin/trip-photos/2010-trips/tasmania-oct/)
 * [http://wordpress.org/extend/plugins/nextgen-gallery-powertags/](http://wordpress.org/extend/plugins/nextgen-gallery-powertags/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Thread Starter [Jardry](https://wordpress.org/support/users/jardry/)
 * (@jardry)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3299975)
 * I’ve decided not to use this plugin.
 *  Plugin Author [mmascia](https://wordpress.org/support/users/baba_mmx/)
 * (@baba_mmx)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3299987)
 * I’m sorry, I was away these days… if you change idea and you need help just ask.
 *  Thread Starter [Jardry](https://wordpress.org/support/users/jardry/)
 * (@jardry)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3299988)
 * No probs, I think what I want to do isn’t possible when using a light box effect.
 * I was hoping to filter images by a tag name and only have those images displayed
   within the light box.
 * It seems no matter how I try, I’m always getting the light box effect including
   all images on the page, not just the selected tag.
 * As I’m not expert in WordPress, I thought it best to leave it (the plugin) alone
   and leave everything as it was.
 * Thank you for responding.
 *  Plugin Author [mmascia](https://wordpress.org/support/users/baba_mmx/)
 * (@baba_mmx)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3299989)
 * Uhmm I’m not sure about that: if you check my demo (that is a real site, this
   plugin was initially created for this one) you will notice that clicking for 
   all images (it’s “tutto” in italian):
 * [http://www.escursioniasinara.com/mercatino/](http://www.escursioniasinara.com/mercatino/)
 * allows to see all images in lightbox.
 * Instead, filtering by tag, for example “vela”:
 * [http://www.escursioniasinara.com/mercatino/?gallerytag=vela](http://www.escursioniasinara.com/mercatino/?gallerytag=vela)
 * also the lightbox images are filtered.
 *  Thread Starter [Jardry](https://wordpress.org/support/users/jardry/)
 * (@jardry)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3299990)
 * Hi, I’ve tried using the plugin again, but this time using a different page and
   different gallery, but and am still having the same issues.
 * This is a [link](http://garysoffice.com/travellin/trip-photos/2011-trips/kangaroo-island-dec/)
   to the current webpage on which I am trying to use the plugin on.
 * Any idea as to why the plugin breaks for me.
 * This is the shortcode that I am using
 * [nggpowertags all_word=”All” tagmenu_sep=” | ” gallery=”71″]
 * I would also like the tags to appear under the “Photo Album” heading and not 
   above the heading.
 * Thank you for taking the time to check and follow up with me. It is appreciated.
 *  Plugin Author [mmascia](https://wordpress.org/support/users/baba_mmx/)
 * (@baba_mmx)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3299992)
 * Hi Jardry, first of all I tried to solve the warning, so please update it to 
   the last version – 1.3.a – and let me know (I’ve tried to better handle errors
   but I haven’t this error, so I just supposed what can be the issue and I’m not
   sure if I’ve solved it).
 *  Thread Starter [Jardry](https://wordpress.org/support/users/jardry/)
 * (@jardry)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3299996)
 * Hi, Sorry to say but I have installed 1.3a, but still have the same errors.
 *  Plugin Author [mmascia](https://wordpress.org/support/users/baba_mmx/)
 * (@baba_mmx)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3299997)
 * That sucks! I’ll double-check
 *  Plugin Author [mmascia](https://wordpress.org/support/users/baba_mmx/)
 * (@baba_mmx)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-107/#post-3300005)
 * Same thing here…
 * > After a good meal at the end of year I got a great desire to solve this problem
   > 🙂
   >  Try to see if the 1.4 version is good.
 *  Thread Starter [Jardry](https://wordpress.org/support/users/jardry/)
 * (@jardry)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-107/#post-3300006)
 * Hi, the update fixed one error I was getting, but I still have this error:
 *     ```
       Warning: Missing argument 2 for wpdb::prepare(), called in /home/garysoff/public_html/wp-content/plugins/nextgen-gallery-powertags/nextgen-gallery-powertags.php on line 131 and defined in /home/garysoff/public_html/wp-includes/wp-db.php on line 990
   
       Warning: Missing argument 2 for wpdb::prepare(), called in /home/garysoff/public_html/wp-content/plugins/nextgen-gallery-powertags/nextgen-gallery-powertags.php on line 131 and defined in /home/garysoff/public_html/wp-includes/wp-db.php on line 990
       ```
   
 * This error appears at the top of the page (above the header image) as well as
   in the body of the page.
 * The separator a (as below) also appear above the header and in the body.
 * All | December 19 | December 20 | December 21 | December 22
 * This is the start of the text in the page:
 * We travelled on the SeaLink ferry to Kangaroo Island for a short holiday just
   before Christmas.
 * Photo Album (this is a heading)
    THIS IS WHERE I WOULD LIKE TO DISPLAY THE SEPARATORS
 * Please refer back to the linked web page to see what I am reporting.
 * Thanks for supporting your plugin.
 * Regards.
 *  Plugin Author [mmascia](https://wordpress.org/support/users/baba_mmx/)
 * (@baba_mmx)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-107/#post-3300007)
 * You are welcome.
 * I think that now, with this 1.4.1, we have got it.
    Please, let me know.
 * Cheers.
 *  Thread Starter [Jardry](https://wordpress.org/support/users/jardry/)
 * (@jardry)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-107/#post-3300009)
 * 1.4.1 has fixed the issues I was having.
 * All now looks good.
 * As a feature request for a possible future update, would it be possible to add
   a default tag variable so that it starts by only displaying the images from the
   default tag? If it’s there already I’ve obviously missed it!
 * For example – [nggpowertags all_word=”All” tagmenu_sep=” | ” default_tag=”December
   19″ gallery=”71″]
 * Great work in fixing the issues that I had with your plugin.
 *  Plugin Author [mmascia](https://wordpress.org/support/users/baba_mmx/)
 * (@baba_mmx)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-107/#post-3300010)
 * Thanks Jandry.
 * The “start tag” feature sounds as a cool improvement. I’ll do it surely asap.
 * For now I set the status of this issue to “resolved”.
 * Feel free to comment out also on my personal website:
    [http://www.mauromascia.com/en/portfolio/wordpress-nextgen-gallery-powertags/](http://www.mauromascia.com/en/portfolio/wordpress-nextgen-gallery-powertags/)
 * Cheers!

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextgen-gallery-powertags.svg)
 * [NextGen Gallery Powertags](https://wordpress.org/plugins/nextgen-gallery-powertags/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery-powertags/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery-powertags/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery-powertags/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery-powertags/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery-powertags/reviews/)

## Tags

 * [netgen](https://wordpress.org/support/topic-tag/netgen/)
 * [powertags](https://wordpress.org/support/topic-tag/powertags/)

 * 13 replies
 * 2 participants
 * Last reply from: [mmascia](https://wordpress.org/support/users/baba_mmx/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/error-107/#post-3300010)
 * Status: resolved