• I have a website that wasn’t updated for too long, now I performed all updates (WordPress 6.6.2 using theme Twenty Seventeen).
    On the gallery page, I get this warning:
    Warning: Undefined array key 0 in /customers/9/0/a/rodewinter.be/httpd.www/wp-content/plugins/nextgen-gallery/src/Display/DisplayManager.php on line 79

    I have disabled several plugins to find out if there is interference but without result.
    Any idea?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter vasch

    (@vasch)

    Additional info:
    It might have something to do with the WP Multilang plugin: The site uses 2 languages and in the Gallery setup I used [:en] and [:nl] to create different gallery titles in English and Dutch. That worked before the upgrade, but now I see for example [:nl]Kleine Mythes[:en]Tiny Myths[:] in stead of just Kleine Mythes in Dutch…

    Hi @vasch,

    Thanks for reaching out,

    Upon checking the gallery frontend page from my end, it looks fine without any error or warning message. For your confirmation, please refer to the screenshot here.

    Could you please confirm if the error appears on your end or not, and I will get back to you accordingly.

    Thanks!

    Thread Starter vasch

    (@vasch)

    I have found the reason for the php error: an old page that contained the old code to show the gallery. Removing that and using the correct block solved the php error.

    However… the translation problem of the gallery titels – using WP-multilang – remains. I had to remove the [:en], [:nl] and ending [:] of the 2 used languages in the gallery titles and replace them with a bilangual title such as “DuchName | EngName” . The titles of pictures is ok, only the gallery.

    But maybe that’s for another subject?

    • This reply was modified 4 months, 1 week ago by vasch.

    Hi @vasch,

    Great to hear that the issue with the warning appearing on the gallery page has been fixed, and thanks for the update.

    Regarding the translation of the gallery titles, could you please check once by switching the theme to WordPress Default theme and see if it works as expected or not!

    Let me know the updates and I will get back to you.

    Thanks!

    Thread Starter vasch

    (@vasch)

    Hi @barsha05,

    The theme is Twenty Seventeen, a standard WP theme. I have tried some other default WP themes and all give the same result.
    With the last test, I entered the name of the gallery with language tags ( for ex. [:nl]Portret[:en]Portrait[:]) and when saving, I see the name as “Portrait”, even in the Dutch (nl) admin page and on the front-end website. Sometimes however, it appears as “[:nl]Portret[:en]Portrait[:]” .
    This is documented with the schreenshots in this link.

    Changing the album name or the picture titles in the same way works fine.

    When looking in the DB, I do see the original names (eg [:nl]Portret[:en]Portrait[:]) for picture and gallery names.

    Hope you can help me!

    Hi @vasch,

    Thank you for sharing the details and screenshots.

    It looks like this issue might have occurred after the last plugin update. I’ll investigate further to understand what’s happening and will get back to you with more details as soon as I can.

    Thank you for your patience, and let me know if there’s anything else in the meantime!

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.