• Resolved seank123

    (@seank123)


    Been using [nggallery] to show thumbnails of all galleries on a page but after updating to PHP 7.3 it no longer works – page give an error: Error Thrown – Cannot unset string offsets

    If I go to the page and try to edit/save I get: Updating failed. The response is not a valid JSON response.

    [nggallery id=”1″] works as expected.

    But I need all the galleries to show and be clickable.

    I don’t seem to be able to do this with the Gutenberg block either.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @seank123,

    Unfortunately, the shortcode structure that you seem have used in the past is now deprecated. Now you will need to at least use these parameters so the gallery could show up:

    [ngg src=”galleries” ids=”1″ display=”basic_thumbnail”]

    You may want to run an SQL query to bulk replace all the shortcodes from your pages and posts at the database level.

    Thread Starter seank123

    (@seank123)

    @mihaiimagely thanks for the reply.

    Unfortunately that suggested shortcode won’t do what the old one did – show a thumbnail of each gallery in a grid so that when a new gallery is added, it appears first in the thumbnails.

    I can do something similar with an Album – but that means manually adding any new gallery to the album, an extra step that the client doesn’t really like!

    Is there any way – shortcode or block – that will give me a simple thumbnail ‘gallery’ of ALL galleries available, with the newest first?

    Many thanks

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @seank123,

    I am sorry to say it but it doesn’t seem like NextGen Gallery supports this shortcode anymore and there aren’t such alternatives that would allow to automatically display the first thumbnails of each gallery available without using albums.

    Using albums for this purpose will be pretty simple. Create the album from “NextGen Gallery -> Manage Albums” and then add all your galleries to it and insert that album into the page where you want all the galleries to be listed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[ngggallery] shortcode no longer works’ is closed to new replies.