Title: Set Thumb Functionality Not Working
Last modified: September 29, 2022

---

# Set Thumb Functionality Not Working

 *  Resolved [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/)
 * Hello NextGen Gallery Guys,
 * I’m seeing an error when attempting to edit the thumbnail, I have a YouTube video
   showing the issue here:
 * Version: NextGEN Gallery v3.29 should be the latest as of today. Free version
 * I have enabled error logging but no WordPress error log is being generated. I
   have tried Edge and Chrome browsers both show this error. I have disabled all
   site plugins, expect for NextGEN Gallery and the error is still there.
 * The web console message is:
 *     ```
       Uncaught SyntaxError: Invalid or unexpected token (at admin.php?page=nggallery-manage-gallery&mode=edit&gid=38&_wpnonce=1d9b57fb8c:1:13)
       ->
       updateThumb(2d24750c6f) 
       ```
   
 * I am developing locally on using Laragon v5.0.0:
    1. Windows 10 machine.
    2. Apache/2.4.47 (Win64)
    3. OpenSSL/1.1.1k
    4. PHP version: 7.4.19
    5. WordPress v6.0.2
 * If you want I can upload to a server and give you admin access to investigate.
 * BTW I love this plugin, and I love that you have a buy it forever price. When
   I get the money will purchase the forever licence.
 * Thanks for your hardwork on this great gallery plugin!
    -  This topic was modified 3 years, 8 months ago by [hefin](https://wordpress.org/support/users/hefin/).
    -  This topic was modified 3 years, 8 months ago by [hefin](https://wordpress.org/support/users/hefin/).
    -  This topic was modified 3 years, 8 months ago by [hefin](https://wordpress.org/support/users/hefin/).
    -  This topic was modified 3 years, 8 months ago by [hefin](https://wordpress.org/support/users/hefin/).

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

1 [2](https://wordpress.org/support/topic/set-thumb-functionality-not-working/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/set-thumb-functionality-not-working/page/2/?output_format=md)

 *  [Jaime Segura](https://wordpress.org/support/users/jaimeimagely/)
 * (@jaimeimagely)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16061211)
 * Hi,
 * Could you all please share your plugin version and PHP version too?
 * Also try rolling back to the previous nextgen gallery version and see if that
   fixes the issue.
 * Thanks.
 *  Thread Starter [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16062854)
 * I’ve tried this on a clean WordPress 6.0.2 installation, but the problem is still
   there
 * Plugin version Version 3.29
 * Server architecture Linux 4.19.0-18-cloud-amd64 x86_64
    Web server Apache/2.4.52(
   Unix) OpenSSL/1.1.1n PHP version 7.4.27 (Supports 64bit values) PHP SAPI fpm-
   fcgi cURL version 7.64.0 OpenSSL/1.1.1n
 * I’ll see if I can downgrade the plugin see if it resolves it
 *  Thread Starter [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16062865)
 * I have downgraded the plugin from v3.29:
    1.  to v3.28
        and to v3.27 even rollback to 3.0.1 and no joy
 * UPDATED 1
    Although this still set Thumbnail funcationlity doesn’t appear to 
   be working, this particular test doesn’t appear accurate as there is an issue
   with bitnami stack this was mentioned on another post ([https://wordpress.org/support/topic/cant-edit-thumnails-wont-load/](https://wordpress.org/support/topic/cant-edit-thumnails-wont-load/)).
   I’ve got another server to try…
 * UPDATED 2
 * This screen capture better illustrates the issue
 * [https://www.youtube.com/watch?v=0EKrbPzWLAM](https://www.youtube.com/watch?v=0EKrbPzWLAM)
 * This server has
    Server architecture Linux 3.10.0-1160.6.1.el7.x86_64 x86_64 
   Web server Apache PHP version 7.3.33 (Supports 64bit values)
    -  This reply was modified 3 years, 8 months ago by [hefin](https://wordpress.org/support/users/hefin/).
    -  This reply was modified 3 years, 8 months ago by [hefin](https://wordpress.org/support/users/hefin/).
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16063746)
 * Hi [@hefin](https://wordpress.org/support/users/hefin/),
 * Looks like a Bitnami hosting particularity
 * Please edit `nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/ngg-
   config.php` and change line 14 from
 * `$path = '';`
 * to:
 * `$path = '/opt/bitnami/wordpress/';`
 * Hope this helps!
    -  This reply was modified 3 years, 8 months ago by [Imagely](https://wordpress.org/support/users/imagely/).
 *  Thread Starter [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16066164)
 * [@jaimeimagely](https://wordpress.org/support/users/jaimeimagely/) I did mention
   I saw when I tried this on a bitnami stack I said:
 * > Although this still set Thumbnail funcationlity doesn’t appear to be working,
   > this particular test doesn’t appear accurate as there is an issue with bitnami
   > stack this was mentioned on another post ([https://wordpress.org/support/topic/cant-edit-thumnails-wont-load/](https://wordpress.org/support/topic/cant-edit-thumnails-wont-load/)).
   > I’ve got another server to try…
 * I then mentioned I tried on a another installation
 * > `https://www.youtube.com/watch?v=0EKrbPzWLAM
   > This server has
   >  Server architecture Linux 3.10.0-1160.6.1.el7.x86_64 x86_64
   > Web server Apache PHP version 7.3.33 (Supports 64bit values)`
 * This is Cpanel/WHM site running on CentOS
 * There is a bug here! It’s not a bitnami issue. This is effecting other
 * Where are the other two members of this conversation thread who have seen this
   issue. Have you deleted them? Previous people this accross multitple sites that
   are not hosted with Bitnami.
 * You have had another recent support issue raised by another person: [https://wordpress.org/support/topic/edit-thumbnail-not-working-4/](https://wordpress.org/support/topic/edit-thumbnail-not-working-4/)
   This is likely not a Bitnami issue either.
 * Your solution is not working as my other sites run on Cpanel/WHM site running
   on CentOS.
 * Previous comments that you appear to have deleted are
 * [@thedrewseum](https://wordpress.org/support/users/thedrewseum/)
 *     ```
       thedrewseum wrote:
   
       I'm also experiencing a sudden issue with updating thumbnails. It worked earlier today, I made no changes or updates to any plugins. Now when I try to edit, nothing happens. I don't get the error listed above, just nothing at all.
   
       Thumbnail editing is a vital part of this plugin for us so I hope this is fixed quickly!
       ```
   
 * Post Link: [https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16055979](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16055979)`
 * [@yoranheij](https://wordpress.org/support/users/yoranheij/)
 *     ```
       yoranheij wrote:
   
       I notice the same issue across all my websites (5+), first occurrence this morning (I presume there was an update overnight).
   
       No error codes, the update thumbnail button seemingly does nothing.
   
       Post Link: https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16058218
       ```
   
    -  This reply was modified 3 years, 8 months ago by [hefin](https://wordpress.org/support/users/hefin/).
    -  This reply was modified 3 years, 8 months ago by [hefin](https://wordpress.org/support/users/hefin/).
 *  Thread Starter [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16066195)
 * [@imagely](https://wordpress.org/support/users/imagely/) If you missed this video
   in my previous post please view it:
 * [https://www.youtube.com/watch?v=0EKrbPzWLAM](https://www.youtube.com/watch?v=0EKrbPzWLAM)
 *  [thedrewseum](https://wordpress.org/support/users/thedrewseum/)
 * (@thedrewseum)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16066208)
 * ^ thanks for pointing out that my comment had been deleted. I do not host with
   Bitnami. This is definitely a plugin issue as multiple people are encountering
   the same thing.
 * Another observation is that when this started happening, I noticed this arrow
   that I do not believe was ever previously there: [screenshot of arrow](https://thedrewseum.com/wp-content/uploads/2022/10/Screenshot.png)
 *  Thread Starter [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16066232)
 * [@thedrewseum](https://wordpress.org/support/users/thedrewseum/) No worries, 
   let’s hope support will take ownership of the issue and be pro-active in fixing
   it rather than appearing to sweep it under the rug.
 *  [Jaime Segura](https://wordpress.org/support/users/jaimeimagely/)
 * (@jaimeimagely)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16066250)
 * [@hefin](https://wordpress.org/support/users/hefin/) I see there is wpnonce mentioned
   in the error, in our past release
 * V3.29 – 09.28.2022
    Fixed: Added nonce verification to some legacy XHR handlers.
 * We fixed some similar issues, we got a couple other reported, I have a beta I
   am testing now and seems to fix the issue.
 * **If any of you want to test the beta, which we will really appreciate too, as
   we plan a release this Wednesday if all goes well**, reach out via [https://www.imagely.com/contact/](https://www.imagely.com/contact/)
   ask for the “nonce beta” and we will provide it.
 * Thanks.
 *  Thread Starter [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16066270)
 * [@jaimeimagely](https://wordpress.org/support/users/jaimeimagely/) Yay! 👍
 *  [yoranheij](https://wordpress.org/support/users/yoranheij/)
 * (@yoranheij)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16067368)
 * Any particular reason why my message was deleted?
 * The bug persists still across all websites where I use NextGen, and no, I am 
   not using bitnami as host. The issue started right after the past update, I will
   try to revert back to the previous version.
 *  [yoranheij](https://wordpress.org/support/users/yoranheij/)
 * (@yoranheij)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16067507)
 * Rollback to version 3.28 did solve the issue for me on one of the websites, I’ll
   try it on the other ones as well.
 *  Thread Starter [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16070032)
 * That’s good to hear.
 * [@jaimeimagely](https://wordpress.org/support/users/jaimeimagely/) did say ‘V3.29–
   09.28.2022 Fixed: Added nonce verification to some legacy XHR handlers.’ And 
   the error in the console did appear nonce related. So makes sense the break was
   just in the last version.
 * As for why your message and [@thedrewseum](https://wordpress.org/support/users/thedrewseum/)
   message were deleted I really don’t know myself as I guess only the Plugin developers
   can delete comments, they were relevant and were helping the issue, I’ve never
   seen a developer delete comments like this..very strange.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/#post-16073906)
 * [@hefin](https://wordpress.org/support/users/hefin/),
 * We don’t have such an option to remove comments either so that’s not us. Only
   the forum moderators can remove posts or block threads in case these violate 
   the forum [guidelines](https://wordpress.org/support/guidelines/)but they usually
   leave commentaries when doing that so that’s odd.
 * Yesterday, we have released NextGen Gallery 3.30 that should have resolved the
   problem with setting the thumbnail crop.
 *  [thedrewseum](https://wordpress.org/support/users/thedrewseum/)
 * (@thedrewseum)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/page/2/#post-16076447)
 * I can confirm that the issue **is resolved** for me with the latest update, thank
   you!

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

1 [2](https://wordpress.org/support/topic/set-thumb-functionality-not-working/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/set-thumb-functionality-not-working/page/2/?output_format=md)

The topic ‘Set Thumb Functionality Not Working’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * 18 replies
 * 5 participants
 * Last reply from: [Jaime Segura](https://wordpress.org/support/users/jaimeimagely/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/set-thumb-functionality-not-working/page/2/#post-16076457)
 * Status: resolved