Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Show thumbnails brings up home page

  • Resolved rweil55

    (@rweil55)


    When I upgraded from 3.2.8 to 3.2.10 The “show thumbnails” link just goes to the home page, rather than the thumbnails. Currently nextgen is the only plugin activated.

    show thumbnails worked in 3.2.8.

    See: https://stage.eriepittsburghtrail.org/home/photo-one/

    Thoughts
    Roy

    Operating System : Linux (64 Bit)
    Server : Apache
    Memory usage : 27.15 MByte
    MYSQL Version : 5.6.23-cll-lve
    SQL Mode : ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
    PHP Version : 7.1.30
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : 768
    PHP Max Upload Size : 128M
    PHP Max Post Size : 128M
    PCRE Backtracking Limit : 1000000
    PHP Max Script Execute Time : 300s
    PHP Exif support : Yes (V7.1.)
    PHP IPTC support : Yes
    PHP XML support : Yes
    Graphic Library

    GD Version : bundled (2.1.0 compatible)
    FreeType Support : Yes
    FreeType Linkage : with freetype
    GIF Read Support : Yes
    GIF Create Support : Yes
    JPEG Support : Yes
    PNG Support : Yes
    WBMP Support : Yes
    XPM Support : Yes
    XBM Support : Yes
    WebP Support : Yes
    JIS-mapped Japanese Font Support : No

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @rweil55

    We are happy to help.
    Could you please try to adjust your Permalinks to see if that fixes the problem?
    If the problem persists, please try the following

    1.- Temporarily deactivate all your plugins except NextGen Gallery.

    2.- Is the problem solved? Then, it was caused by one of your plugins. Please check one by one and find the one causing the problem.

    3.- If the problem is not solved with the deactivation of the plugins, try changing to a standard WordPress theme, it could be a conflict with your current theme.

    Please let us know how it goes.

    Thread Starter rweil55

    (@rweil55)

    changed the permalink to Plain and got the message “We cannot display this gallery”
    See: https://stage.eriepittsburghtrail.org/index.php/nggallery/thumbnails?page_id=365

    1) that was already done. Only netgen is active.
    3) tried twenty thirteen got the same message.

    setting wp_debug to true, got no additional messages.

    Note: this is a staging site created by wp_stageing.

    Send an email address, and I can give you admin access to the site.

    Roy

    Hi @rweil55

    Apologies, we need to check a couple of things first, and we do not ask for credentials or share any personal information in the forum.

    Let’s check the following:
    – Have you tried to re-insert your gallery display?
    – We can also try to reset NextGen Gallery settings and see if that works. Go to Gallery > Other options > Reset Options.
    – You can also try to remove and re-install our plugin.

    If the problem persists, we might ask you to fill a forum to report the issue back to the developers.

    Thread Starter rweil55

    (@rweil55)

    When I went to manage galleries, I got the following message.
    Expanding Gallery settings get a similar message on author at “manage.php on line 529″.
    Restore from backup fails.

    ERROR message” “Notice: Trying to get property of non-object in /home/pillowan/www-erie/www-eriepittsburghtrail-stage/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/manage-galleries.php on line 297”

    I created an new empty gallery, and did a “copy to” of all images. The new gallery works.

    The bad gallery was set up around 10/2017 and has had nothing but updates done to it since then. I am guessing that some update did not create an object that later updates expected.

    Roy

    Plugin Support mihai-imagely

    (@mihaiimagely)

    Thanks for letting us know. I am not really sure what was causing the error message from the “Manage Galleries” but I am assuming that in fact using a new gallery module in the page itself helped you to solve the problem since I don’t think that we have changed anything ref the tables structures to completely deprecate the old galleries but we have changed the shortcode structure and optimized it a couple of times since 2017.

    • This reply was modified 3 years, 5 months ago by mihai-imagely.
    Thread Starter rweil55

    (@rweil55)

    Took a look at the code and the database. Line 297 is trying to display the authors name.
    it is obtained on line 248 by $author_user = get_userdata( (int) $gallery->author );
    There is no check for “false” on the result. looking at the database the nggallery.author for the given gallery is 1, however looking at the users table, there is no author 1.

    Therefore I suggest that at 243 you add the following code
    if ($author_user === false) {
    $author_user = new WP_User;
    $author_user->display_name = “Deleted user ” . $gallery->author;
    }

    Hi @rweil55,

    We need to take some notes and escalate this to our developers.
    Please report this issue as a bug using this form: https://www.imagely.com/report-bug/.
    Be as specific as possible and let them know Gaby referred you.

    Note: do not forget to include this forum’s link.
    Many thanks!

    Thread Starter rweil55

    (@rweil55)

    Plugin Support mihai-imagely

    (@mihaiimagely)

    Thank you very much, Roy!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Show thumbnails brings up home page’ is closed to new replies.