Title: Foo Galleries not displaying
Last modified: November 17, 2017

---

# Foo Galleries not displaying

 *  Resolved [ristretto6](https://wordpress.org/support/users/ristretto6/)
 * (@ristretto6)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/)
 * I don’t know if this had to do with the recent upgrade or what, but all of a 
   sudden, none of my Foo Galleries are displaying. This is happening on quite a
   few of my pages, but one example is urbancraftuprising.com/stock-photos. You 
   can see many headings with no photos beneath them even though there should actually
   be a gallery beneath each one.
 * The photos that you do see displaying on the page are using a different kind 
   of gallery–not FooGallery.
 * Please help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffoo-galleries-not-displaying-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 38 total)

1 [2](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/page/2/?output_format=md)

 *  [Wildcard](https://wordpress.org/support/users/thenewguy_14/)
 * (@thenewguy_14)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9694931)
 * Same thing is happening to me. I updated WordPress and the galleries are not 
   working now. I also tried to deactivate the other plugins. Links are all there
   but there is just a white box where the image should be and it looks like the
   masonry is not styling its self. Do they see this reply or should I make a new
   ticket?
    -  This reply was modified 8 years, 9 months ago by [Wildcard](https://wordpress.org/support/users/thenewguy_14/).
 *  [jeuriss](https://wordpress.org/support/users/jeuriss/)
 * (@jeuriss)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9697391)
 * I have the same problem. Seems that Foo gallery is compatibel until wordpress
   4.9. So after updating wp to 4.9 all the galleries are shut down.
    Any idea if
   this will be fixed soon? Otherwise I will have to switch I guess..
    -  This reply was modified 8 years, 9 months ago by [jeuriss](https://wordpress.org/support/users/jeuriss/).
 *  [mwinterstorm](https://wordpress.org/support/users/mwinterstorm/)
 * (@mwinterstorm)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9697814)
 * Same issue with me – also just updated to wordpress 4.9 – really hoping for a
   fix so I don’t have to replace my galleries.
 *  [jeuriss](https://wordpress.org/support/users/jeuriss/)
 * (@jeuriss)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9698363)
 * It seems that the galleries do work in mobile view but don’t work in desktop 
   view. Do you have the same?
 *  [saulwynne](https://wordpress.org/support/users/saulwynne/)
 * (@saulwynne)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9698586)
 * I have the same problem. Seems that Foo gallery is not compatible with WordPress
   4.9.
    So after updating to 4.9 all the galleries Not working for me noticed it
   on Friday night
 *  [Adam W. Warner](https://wordpress.org/support/users/awarner20/)
 * (@awarner20)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9699196)
 * [@ristretto6](https://wordpress.org/support/users/ristretto6/)
 * It looks like you have some jquery errors related to Jetpack and your theme. 
   IN Chrome, right click and choose “Inspect”, then click on “Console” to see them.
   
   [http://www.picpaste.com/Screen_Shot_2017-11-19_at_10.10.28_AM-6qnVG4OK.png](http://www.picpaste.com/Screen_Shot_2017-11-19_at_10.10.28_AM-6qnVG4OK.png)
 * [@thenewguy_14](https://wordpress.org/support/users/thenewguy_14/)
    [@jeuriss](https://wordpress.org/support/users/jeuriss/)
   [@mwinterstorm](https://wordpress.org/support/users/mwinterstorm/) [@saulwynne](https://wordpress.org/support/users/saulwynne/)
   Can you please share the url to where the galleries are not appearing?
 *  [jeuriss](https://wordpress.org/support/users/jeuriss/)
 * (@jeuriss)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9699219)
 * For me: [http://www.floriekebeelen.com/photos](http://www.floriekebeelen.com/photos)
 *  [carrosparaeventos](https://wordpress.org/support/users/carrosparaeventos/)
 * (@carrosparaeventos)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9699373)
 * Same thing is happening to me. I updated WordPress and the galleries are not 
   working now. I also tried to deactivate the other plugins.
    Uncaught TypeError:
   Cannot read property ‘src’ of undefined at d.load (foogallery.min.js?ver=1.4.7:
   10) at foogallery.min.js?ver=1.4.7:10 at Function.map (jquery.js?ver=1.12.4:2)
   at d.load (foogallery.min.js?ver=1.4.7:10) at d.loadAvailable (foogallery.min.
   js?ver=1.4.7:9) at Object.<anonymous> (foogallery.min.js?ver=1.4.7:9) at Object.
   <anonymous> (jquery.js?ver=1.12.4:2) at i (jquery.js?ver=1.12.4:2) at Object.
   fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at Object.<anonymous> (jquery.
   js?ver=1.12.4:2) Thanks
 *  [mwinterstorm](https://wordpress.org/support/users/mwinterstorm/)
 * (@mwinterstorm)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9700010)
 * For me see [https://www.markwr.com/gabs-june-2017/](https://www.markwr.com/gabs-june-2017/)
   as an example of a page / gallery not working…
 *  [saulwynne](https://wordpress.org/support/users/saulwynne/)
 * (@saulwynne)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9700697)
 * Here are all our foo galleries url’s/pages I hope it helps 🙂
 * [https://www.metroblindsport.org/gallery-2/](https://www.metroblindsport.org/gallery-2/)
   
   [https://www.metroblindsport.org/adventure-sports/](https://www.metroblindsport.org/adventure-sports/)
   [https://www.metroblindsport.org/sports/archery/archery-gallery/](https://www.metroblindsport.org/sports/archery/archery-gallery/)
   [https://www.metroblindsport.org/sports/athletics/athletics-open-2017/](https://www.metroblindsport.org/sports/athletics/athletics-open-2017/)
   [https://www.metroblindsport.org/sports/bowls/bowls-gallery/](https://www.metroblindsport.org/sports/bowls/bowls-gallery/)
   [https://www.metroblindsport.org/sports/cricket/cricket-gallery/](https://www.metroblindsport.org/sports/cricket/cricket-gallery/)
   [https://www.metroblindsport.org/sports/football/football-gallery/](https://www.metroblindsport.org/sports/football/football-gallery/)
   [https://www.metroblindsport.org/sports/multi-events/multi-events-gallery/](https://www.metroblindsport.org/sports/multi-events/multi-events-gallery/)
   [https://www.metroblindsport.org/sports/vi-skiing/skiing-gallery/](https://www.metroblindsport.org/sports/vi-skiing/skiing-gallery/)
   [https://www.metroblindsport.org/sports/tennis/tennis-gallery/](https://www.metroblindsport.org/sports/tennis/tennis-gallery/)
 *  [saulwynne](https://wordpress.org/support/users/saulwynne/)
 * (@saulwynne)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9700702)
 * I added all our foo galleries urls but that post has been held in moderation 
   for 72 hours by forums so here is the first one: [https://www.metroblindsport.org/adventure-sports/](https://www.metroblindsport.org/adventure-sports/)
    -  This reply was modified 8 years, 8 months ago by [saulwynne](https://wordpress.org/support/users/saulwynne/).
 *  [saulwynne](https://wordpress.org/support/users/saulwynne/)
 * (@saulwynne)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9701565)
 * In the meantime – I am going to have upload dif galleries – not sure how long
   this fix will take
 *  Plugin Author [steveush](https://wordpress.org/support/users/steveush/)
 * (@steveush)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9701923)
 * Hi All,
 * There’s a few different errors here presenting in a similar fashion so I’ll try
   answer each separately but first I’ll explain the reason behind the majority 
   of the problems listed so you can better understand the issue.
 * In 1.4.x we added advanced loading of images which relies on JS to determine 
   which images should be loaded and when etc. so the JS must be initialized in 
   order for the images to be displayed which is normally not a problem. At the 
   moment to initialize the JS we rely on jQuery’s ready callback functionality 
   however there is a drawback to using this method. Internally jQuery stores all
   ready callbacks in an array and then when needed it simply loops through and 
   executes each one. The problem with this is that if two plugins, A and B, are
   both using the callback and plugin A’s initialize code throws an error, plugin
   B’s initialize code will never be run.
 * [@ristretto6](https://wordpress.org/support/users/ristretto6/), [@jeuriss](https://wordpress.org/support/users/jeuriss/),
   [@saulwynne](https://wordpress.org/support/users/saulwynne/) this is the reason
   FooGallery is not being initialized on your pages. You can see this by opening
   up the console in your browser and executing the following which will then load
   your galleries: `jQuery(".foogallery").foogallery()`.
 * We will be adding in an option to use a custom ready callback instead of the 
   jQuery one which will work around this issue so themes or other plugins failing
   do not prevent the galleries from loading. I’ve outlined below each of your individual
   issues in more detail.
 * [@jeuriss](https://wordpress.org/support/users/jeuriss/) the error on your page
   is being thrown by the jQuery migrate plugin due to a selector being used in 
   the Fusion menu JS which is part of your theme. In the ~/wp-content/themes/Avada/
   Avada/assets/js/main.min.js they are using the following selector: `".fusion-
   menu a:not([href=#], .fusion-megamenu-widgets-container a, .search-link), .fusion-
   mobile-nav-item a:not([href=#], .search-link), .fusion-button:not([href=#]), .
   fusion-one-page-text-link:not([href=#])"` which according to the [migrate documention](https://github.com/jquery/jquery-migrate/blob/1.x-stable/warnings.md#jqmigrate-attribute-selector-with--was-not-fixed)
   is invalid due to the use of `[href=#]`, the `#` needs to be quoted.
 * [@saulwynne](https://wordpress.org/support/users/saulwynne/) the error on your
   page is being thrown by the ~/wp-content/themes/metro/js/sidebar-height.js but
   can be easily fixed. At present the initialize code is attempting to use the 
   shorthand for jQuery which is simply `$` however in WordPress jQuery does not
   register the shorthand in order to avoid conflicts. To fix this error line 4 
   in the above mentioned file needs to be changed from `jQuery(document).ready(
   function(jQuery) {` to `jQuery(document).ready(function($) {`
 * [@ristretto6](https://wordpress.org/support/users/ristretto6/) the error on your
   page is two fold. First the error preventing the initialize is being thrown by
   the ~/wp-content/themes/HighendWP/scripts/jquery.custom.js file on line 1529 
   where it is attempting to initialize a plugin called autocomplete which is supposed
   to be used for the header menu ajax search. The second part to your issue is 
   a little more complicated and I have not found a solution yet. If you run the
   code `jQuery(".foogallery").foogallery()` in your console you will get another
   error saying “Masonry is not defined”. For some reason on your site Masonry is
   not registering itself on the window object and so can’t be initalized using 
   it’s class name. I’ll need to figure what is going on however I think it is due
   to your theme including Isotope and us including Masonry.
 * [@mwinterstorm](https://wordpress.org/support/users/mwinterstorm/) I believe 
   your issue is different to the above. On your page there is no FooGallery JS 
   being included in the page at all. I’m just confirming with [@bradvin](https://wordpress.org/support/users/bradvin/)
   about possible causes.
 * [@carrosparaeventos](https://wordpress.org/support/users/carrosparaeventos/) 
   could you provide me with a url?
 * Thanks
    -  This reply was modified 8 years, 8 months ago by [steveush](https://wordpress.org/support/users/steveush/).
      Reason: Mixed up version numbers
 *  Plugin Author [steveush](https://wordpress.org/support/users/steveush/)
 * (@steveush)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9701936)
 * Hi [@carrosparaeventos](https://wordpress.org/support/users/carrosparaeventos/),
 * I mixed up the version numbers in my previous response, could you please provide
   me with a url where I can see the error?
 * Thanks
 *  [Adam W. Warner](https://wordpress.org/support/users/awarner20/)
 * (@awarner20)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/#post-9702100)
 * Great explanation [@steveush](https://wordpress.org/support/users/steveush/),
   thank you for jumping in.
 * To be clear about those jquery issues caused by other plugins/theme. The best
   route is to contact the developers of those plugins/theme and share with them
   the fix.
 * You don’t want to make these edits to these yourself because when the plugins/
   themes are updated, your custom changes will be overwritten.
 * Alternatively, you can deactivate the problem plugins and seek a different plugin
   solution for the features they provide. A little more complicated is changing
   the entire theme of course.
 * Again, we recommend sharing these solutions with the developers directly in the
   hope that they will fix and provide updated versions.

Viewing 15 replies - 1 through 15 (of 38 total)

1 [2](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/page/2/?output_format=md)

The topic ‘Foo Galleries not displaying’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](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/)

 * 38 replies
 * 10 participants
 * Last reply from: [ristretto6](https://wordpress.org/support/users/ristretto6/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/foo-galleries-not-displaying-2/page/3/#post-9801656)
 * Status: resolved