Title: nextgen-gallery-plugin-causing-error-while-editing-post/
Last modified: August 19, 2018

---

# nextgen-gallery-plugin-causing-error-while-editing-post/

 *  Resolved [zeusgr8](https://wordpress.org/support/users/zeusgr8/)
 * (@zeusgr8)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-plugin-causing-error-while-editing-post/)
 * Hi
 * After recent update of wordpress and nextgen gallery, my wordpress editor stopped
   working. I am not able to change from visual mode to text mode while adding post.
   even after editing a post when I click the preview or publish , it shows blank
   page without content. but after deactivating Nextgen gallery plugin everything
   working fine as earlier.
 * While the Nextgen gallery plugin was active, The error in the console was as 
   following
 * Kindly have a look and please help!
    JQMIGRATE: Migrate is installed, version
   1.4.1 2jquery.js?ver=1.12.4:2 Uncaught Error: no such method ‘instance’ for menu
   widget instance at Function.error (jquery.js?ver=1.12.4:2) at HTMLUListElement.
   <anonymous> (jquery-ui.min.js?ver=1.9.2:5) at Function.each (jquery.js?ver=1.12.4:
   2) at a.fn.init.each (jquery.js?ver=1.12.4:2) at a.fn.init.e.fn.(anonymous function)[
   as menu] ([http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=1.9.2:5:6272](http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=1.9.2:5:6272))
   at e.(anonymous function).(anonymous function)._create ([http://mydomain.com/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.11.4:11:2191](http://mydomain.com/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.11.4:11:2191))
   at e.(anonymous function).(anonymous function)._create ([http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=1.9.2:5:5392](http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=1.9.2:5:5392))
   at e.(anonymous function).(anonymous function)._createWidget ([http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=1.9.2:5:7457](http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=1.9.2:5:7457))
   at new e.(anonymous function).(anonymous function) ([http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=1.9.2:5:4975](http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=1.9.2:5:4975))
   at HTMLInputElement.<anonymous> (jquery-ui.min.js?ver=1.9.2:5) 3wp-auth-check.
   min.js?ver=4.9.8:1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
   at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=4.9.8:1) at HTMLDocument.
   dispatch (jquery.js?ver=1.12.4:3) at HTMLDocument.r.handle (jquery.js?ver=1.12.4:
   3) at Object.trigger (jquery.js?ver=1.12.4:3) at Object.a.event.trigger (jquery-
   migrate.min.js?ver=1.4.1:2) at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4:
   3) at Function.each (jquery.js?ver=1.12.4:2) at a.fn.init.each (jquery.js?ver
   =1.12.4:2) at a.fn.init.trigger (jquery.js?ver=1.12.4:3) at Object.<anonymous
   > (heartbeat.min.js?ver=4.9.8:1) wp-auth-check.min.js?ver=4.9.8:1 Uncaught TypeError:
   Cannot read property ‘hasClass’ of undefined at HTMLDocument.<anonymous> (wp-
   auth-check.min.js?ver=4.9.8:1) at HTMLDocument.dispatch (jquery.js?ver=1.12.4:
   3) at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3) at Object.trigger (jquery.
   js?ver=1.12.4:3) at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
   at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4:3) at Function.each (jquery.
   js?ver=1.12.4:2) at a.fn.init.each (jquery.js?ver=1.12.4:2) at a.fn.init.trigger(
   jquery.js?ver=1.12.4:3) at Object.<anonymous> (heartbeat.min.js?ver=4.9.8:1) (
   anonymous) @ wp-auth-check.min.js?ver=4.9.8:1 dispatch @ jquery.js?ver=1.12.4:
   3 r.handle @ jquery.js?ver=1.12.4:3 trigger @ jquery.js?ver=1.12.4:3 a.event.
   trigger @ jquery-migrate.min.js?ver=1.4.1:2 (anonymous) @ jquery.js?ver=1.12.4:
   3 each @ jquery.js?ver=1.12.4:2 each @ jquery.js?ver=1.12.4:2 trigger @ jquery.
   js?ver=1.12.4:3 (anonymous) @ heartbeat.min.js?ver=4.9.8:1 i @ jquery.js?ver=
   1.12.4:2 fireWith @ jquery.js?ver=1.12.4:2 y @ jquery.js?ver=1.12.4:4 c @ jquery.
   js?ver=1.12.4:4 XMLHttpRequest.send (async) send @ jquery.js?ver=1.12.4:4 ajax
   @ jquery.js?ver=1.12.4:4 j @ heartbeat.min.js?ver=4.9.8:1 (anonymous) @ heartbeat.
   min.js?ver=4.9.8:1 jquery.js?ver=1.12.4:4 XHR finished loading: POST “[http://mydomain.com/wp-admin/admin-ajax.php&#8221](http://mydomain.com/wp-admin/admin-ajax.php&#8221);.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/nextgen-gallery-plugin-causing-error-while-editing-post/#post-10608315)
 * Hi [@zeusgr8](https://wordpress.org/support/users/zeusgr8/)! I’d be happy to 
   help 🙂
 * Let’s first check the server settings to make sure you have everything up to 
   date. Reach out to your hosting provider and confirm they have the [WordPress.org Requirements](https://wordpress.org/about/requirements/)
   settings in place:
 * MySQL v5.6 (or higher)
    PHP 7.2 (or higher)
 * Memory limit: 250MB (or higher)
    Upload limit: 50MB (or higher) Post limit: 50MB(
   or higher) /wp-content directory has sufficient permissions (i.e. 755)
 * With those in place, everything should work smoothly for you. If the issue still
   shows up, let’s check to see if there is a plugin conflict happening. Temporarily
   deactivate all plugins, then reactivate NextGEN Gallery only. Does the issue 
   still appear? If so, temporarily switch to a WordPress theme (this deactivation
   is only intended to quickly check to see if the issue goes away or is still present).
   If by deactivating the other plugins, the issue does go away, reactivate each
   of the other plugins one at a time to locate the culprit. Keep me posted on your
   results 🙂
 * – Becky
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-plugin-causing-error-while-editing-post/#post-10718672)
 * Because it has been a month or more since your last reply, I am going to mark
   this as resolved as I assume you have found a solution. Please feel free to reply
   again if you still have questions. 🙂
 * Thanks!
    – Becky

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘nextgen-gallery-plugin-causing-error-while-editing-post/’ 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

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

 * 2 replies
 * 2 participants
 * Last reply from: [Imagely](https://wordpress.org/support/users/imagely/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/nextgen-gallery-plugin-causing-error-while-editing-post/#post-10718672)
 * Status: resolved