Title: Uncaught Reference Error in tinymce plugin.js
Last modified: March 11, 2019

---

# Uncaught Reference Error in tinymce plugin.js

 *  Resolved [dglassman](https://wordpress.org/support/users/dglassman/)
 * (@dglassman)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/uncaught-reference-error-in-tinymce-plugin-js/)
 * I’m getting the following error when on a GF and viewing the confirmation page:
 * “Uncaught ReferenceError:photocrati_ajax is not defined URL: [https://www.outdoorphotographer.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/attach_to_post/static/ngg_attach_to_post_tinymce_plugin.min.js?ver=3.16&wp-mce-4800-20180716&#8221](https://www.outdoorphotographer.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/attach_to_post/static/ngg_attach_to_post_tinymce_plugin.min.js?ver=3.16&wp-mce-4800-20180716&#8221);
 * I am using WP 4.9.8 and NGG 3.1.6.
 * When I deactivate NGG, the error message no longer shows up.
 * Any ideas how to fix this?

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

 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/uncaught-reference-error-in-tinymce-plugin-js/#post-11302096)
 * Hi [@dglassman](https://wordpress.org/support/users/dglassman/)
 * Let’s first 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 default 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 🙂
 * Mihai
 *  Thread Starter [dglassman](https://wordpress.org/support/users/dglassman/)
 * (@dglassman)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/uncaught-reference-error-in-tinymce-plugin-js/#post-11303202)
 * Unfortunately, I can’t do that because deactivating all plugins breaks the site.
 * I was able to deactivate everything except WooCommerce and Gravity Forms and 
   I still got the message.
 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/uncaught-reference-error-in-tinymce-plugin-js/#post-11306990)
 * Hi [@dglassman](https://wordpress.org/support/users/dglassman/)
 * In this case, can you please contact your hosting provider to make sure that 
   your domain supports the following requirements [https://www.imagely.com/docs/requirements/](https://www.imagely.com/docs/requirements/)
 * Mihai
 *  [gabyimagely](https://wordpress.org/support/users/gabyimagely/)
 * (@gabyimagely)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/uncaught-reference-error-in-tinymce-plugin-js/#post-11439574)
 * 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.

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

The topic ‘Uncaught Reference Error in tinymce plugin.js’ 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

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

 * 4 replies
 * 3 participants
 * Last reply from: [gabyimagely](https://wordpress.org/support/users/gabyimagely/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/uncaught-reference-error-in-tinymce-plugin-js/#post-11439574)
 * Status: resolved