Title: Not Used! error
Last modified: June 26, 2018

---

# Not Used! error

 *  Resolved [Wdesigndeb](https://wordpress.org/support/users/wdesigndeb/)
 * (@wdesigndeb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/not-used-error/)
 * I’ve upgraded to the latest version of foogallery and my thumbnails are no longer
   generating for my gallery. My galleries all say “not used”.
 * I used autooptimize so I added foogallery.min.js to the exclude list. I also 
   use WP SuperCache and have cleared the cache several times on both.
 * At the bottom of my index.php file I have used get_footer. At the top of my header.
   php file I have used wp_footer.
 * I’m not sure what I’m missing here. Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnot-used-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Wdesigndeb](https://wordpress.org/support/users/wdesigndeb/)
 * (@wdesigndeb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/not-used-error/#post-10437087)
 * The jquery version I’m using is 3.2.1
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/not-used-error/#post-10437507)
 * Hi – i had a look at your page.
    The foogallery js is not loading into your page.
 * Probably unrelated, but I also notice jQuery 1.12.4 is loading in the page, and
   you mention 3.2.1 – where did you get that version number?
 * I think let’s first determine which plugin is causing the conflict. I guess it
   is either autoptimize or WP Supercache. Please disable them both and see if the
   gallery loads. IF it does, then activate autoptimize and test the gallery loads.
   If so then we know its WP SuperCache, if not then its autoptomize.
 * Then we can move forward with settings for that particular plugin
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/not-used-error/#post-10437708)
 * pro-tip; you can disable Autoptimize on a per-request basis by adding `?ao_noptimize
   =1` to the URL.
 * if the problem is not there at that point, some autoptimize (re-)configuration
   might be needed to fix this. there are troubleshooting tips and info on how to
   exclude in [the AO FAQ](https://wordpress.org/plugins/autoptimize/#faq).
 * hope this helps debugging,
    frank (ao dev)
 *  Thread Starter [Wdesigndeb](https://wordpress.org/support/users/wdesigndeb/)
 * (@wdesigndeb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/not-used-error/#post-10437736)
 * Thank you for your response Brad. You are correct the JQuery I am loading is 
   1.12.4. I developed the theme in bootstrap using jquery 3.2.1 and converted the
   site to wp using underscores. Sorry about the confusion I caused.
 * I’ve disabled both autooptimize and wp supercache without any change. I cleared
   my browser cache and refreshed the page.
 * I am loading the gallery from the page template using:
    <?php echo do_shortcode(‘[
   foogallery id=”381″]’);
 *  ?>
 * If I create a new gallery and add it to a new page in the wysiwyg box, the error
   message Not used does not appear. Just the success dot and it previews from the
   wp dashboard correctly, though I haven’t tried it live.
 * I upgraded from an old version just yesterday because foobox stopped working 
   and I was hoping it would fix the problem.
 *  Thread Starter [Wdesigndeb](https://wordpress.org/support/users/wdesigndeb/)
 * (@wdesigndeb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/not-used-error/#post-10437768)
 * Thank you Frank, this is driving me to distraction.
 * Brad, I just tried the new test page I created live and it is all working with
   autooptimize and wp supercache still disabled. This is really weird, it’s almost
   like foogallery isn’t recognizing my old pages.
 * I’m using ACF for some elements on the pages (not on the test page just straight
   wysiswyg). Do you think it might be related to that?
 *  Thread Starter [Wdesigndeb](https://wordpress.org/support/users/wdesigndeb/)
 * (@wdesigndeb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/not-used-error/#post-10438073)
 * Oh, good grief, I figured it out. Definitely a ID10T error. I added a custom 
   plugin to allow pagination to the old version of foogallery that I loaded using
   php in the page templates. I removed the code and my gallery loaded. Then I had
   to edit each gallery to set up foobox correctly and delete the cached thumbnails
   and update.
 * All working now! Thank you so much, you both really helped narrow down the problem
   for me. My client actually will get their update by the end of today.

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

The topic ‘Not Used! error’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Gallery by FooGallery](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [Wdesigndeb](https://wordpress.org/support/users/wdesigndeb/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/not-used-error/#post-10438073)
 * Status: resolved