Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » We cannot display this gallery – 2.2.12

  • Resolved prezenta

    (@prezenta)


    After update the plugin to 2.2.12 albums, galleries and photos dissapered: We cannot display this gallery.

    I tried to reset the options (settings), clear image cache… Nothing helped. Only switching back to 2.2.10 resolved the issue.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Imagely

    (@imagely)

    @prezenta – We’re not seeing this ourselves and as such it may be a conflict with another active plugin on your site or something within your current theme. The changes in this release are very minimal and should be be affecting displays in general.

    After re-updating, please try deactivating all of your plugins, clearing your browser cache (and site caches if you are using a caching plugin), then reactivating the NextGEN plugin?

    If this fixes the problem then it was likely one of the deactivated plugins that was causing an issue. Now, retrace your steps activating each plugin and re-checking to see if the problem returns. If it does then that last activated plugin was probably the one. Keep reactivating and in most cases it is also best to keep checking after each plugin, sometimes there may be more than one plugin on a site that will create an issue. If you do find one (or more) plugins causing this problem we would greatly appreciate your feedback on them so the developers may address them as soon as they can.

    Also to note, in rare cases it may be the theme itself that is causing a conflict so while you have just the NextGEN plugin activated you might consider temporarily switching to one of the default WordPress Twenty series themes and see if this corrects the issue as well.

    If the problem still persists after all of this we would still want to know, even more so, as we will still want to sort out the issue and may need additional details.

    Thanks!

    – Cais.

    Hi,
    Thank you for your answer. Yes, I found the plugin that cousing the problems. It is Polylang Slug: https://github.com/grappler/polylang-slug
    I understand that this plugin is not updates for a long time, so probably I will have to find another solution for this feature.

    Thank you again.

    Ulrich

    (@grapplerulrich)

    @prezenta Hi, I stopped updating the plugin as Polylang Pro offers the same feature. I developed the plugin before the pro version was available.

    Plugin Author Imagely

    (@imagely)

    @grapplerulrich – Thanks for your input here.

    – Cais.

    I’m having the same problem, and do not have Polylang. Deactivated plugins, cleared cache, etc., no help. Deactivated/reactivated NextGEN and it works for a while then quits, displaying the message; “We cannot display this gallery.”

    Plugin Author Imagely

    (@imagely)

    @f1mktsol – Please start your own topic so we can try to help you with your specific issue on your specific site.

    See https://make.wordpress.org/support/handbook/forum-welcome/#post-in-the-best-place

    Thanks!

    – Cais.

    I join. We can not display this gallery – there is a problem with version 2.2.12. In version 2.2.10, there is no such problem. Forced to roll back to 2.2.10.

    Thanks!

    Plugin Author Imagely

    (@imagely)

    @asasergey – Please start your own topic so we can try to help you with your specific issue on your specific site.

    See https://make.wordpress.org/support/handbook/forum-welcome/#post-in-the-best-place

    Thanks!

    – Cais.

    Just tried to update NextGEN Gallery from 2.2.10 to 2.2.18 on two websites. Without ANY other plugins active, the result globally is “We cannot display this gallery”. NextGEN Gallery is a consistently inconsistent. No wonder FooGallery is now preferred.

    Plugin Author Imagely

    (@imagely)

    @inndesign – Please start your own topic so we can try to help you with your specific issue on your specific site … and please check what version of PHP you are using on the site(s).

    See https://make.wordpress.org/support/handbook/forum-welcome/#post-in-the-best-place

    Thanks!

    – Cais.

    I do not know why you folks at NextGen are not seeing the issue here. It’s fairly obvious and is related to transients. For example, if a user is employing use of database cleanup, NextGen is rendered useless and will not display any galleries, rather, will give the message; “cannot display gallery”. The only solution is to disable NextGen, then re-enable. If this does not work, then delete NextGen then re-install. There is no danger of losing galleries from the database as by deleting NextGen does not remove galleries from the WordPress database – your work remains intact. In example, if you are using the most excellent plugin; “Advanced Database Cleaner” https://wordpress.org/plugins/advanced-database-cleaner/ after running, all NextGen galleries will display the message; “cannot display gallery”. This is resolved by deactivating the NextGen Gallery, then re-activating. You know, you NextGen people need to stop passing the buck by telling users to “create their own topic”. This is indeed one topic where countless people are sharing the exact same issue. Get it together, NextGen, or best of luck with your product – you will need it.

    Excellent observation and commentary, @f1mktsol. We too use “Advanced Database Cleaner”, an innocuous and highly beneficial database tool. At least under NextGen version 2.2.10, the galleries work, but not one version thereafter. Deleting and reinstalling NextGen is something we have tried several times previous, but does not result in a functioning gallery. NextGen throughout the past few years has been a difficult module to contend. We are using FooGallery for our clients and converting out of NextGen as we go, where NextGen has always been unreliable and unstable, crippled by anything and everything. It also consumes excessive amounts of hosted space, due to it duplication of gallery images and backup images. Without a complete rebuild of the NextGen architecture by an induction of qualified PHP developers, NextGen has a bleak future. We are not going to waste our time any further with this failing provision.

    • This reply was modified 1 year, 6 months ago by  Inndesign.

    Hey, don’t get me wrong. I am a long time NextGen fan, and honest to God, the compatibility issues they have are incredibly easy to fix. Any coder worth their salt could do it – hire me, if you wish, NextGen. My main point is – get your stuff together, NextGen, or watch the chickens fly the coop.

    Plugin Author Imagely

    (@imagely)

    @f1mktsol – You’re more than welcome to submit a PR if you believe you can fix this. We’re always open to constructive criticism as well as community contributions to our code base. Please feel free to start here: https://bitbucket.org/photocrati/nextgen-gallery

    Once you have submitted the PR, send us a Bug Report with its reference and I’ll push it forward into our developers’ queue for immediately review.

    Thanks!

    – Cais.

    I’ve found a workaround for the incompatibility btw nextgen and polylang-slug described by @prezenta and @grapplerulrich, I’ll leave it here for reference:

    
    function my_polylang_slug_disable ($disable, $query) {
      if ($disable) return true;
    
      if (isset($query->query_vars['meta_query'])) {
        $meta_query = $query->query_vars['meta_query'];
        return isset($meta_query[0]) && isset($meta_query[0]['value']) && substr($meta_query[0]['value'], 0, 10) === "photocrati";
      }
      return $disable;
    }
    add_filter ('polylang_slug_disable', 'my_polylang_slug_disable', 10, 2);
    
    • This reply was modified 1 year, 6 months ago by  thpani.
    • This reply was modified 1 year, 6 months ago by  thpani.
Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘We cannot display this gallery – 2.2.12’ is closed to new replies.