Title: Javascript error : Uncaught ReferenceError: mgmlp_ajax is not defined
Last modified: June 10, 2022

---

# Javascript error : Uncaught ReferenceError: mgmlp_ajax is not defined

 *  Resolved [halvorbekkevold](https://wordpress.org/support/users/halvorbekkevold/)
 * (@halvorbekkevold)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-mgmlp_ajax-is-not-defined/)
 * This is all what I see when trying to load Media Library Folders
 * What’s wrong?

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

 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-mgmlp_ajax-is-not-defined/#post-15727042)
 * This happens on some sites. Try adding this line of code to your site’s wp-config.
   php file:
 * `define('MLFP_SKIP_UPLOAD_STATUS_CHECK', true);`
 * It should go above the line that says, “That’s all, stop editing! Happy blogging.”
 *  Thread Starter [halvorbekkevold](https://wordpress.org/support/users/halvorbekkevold/)
 * (@halvorbekkevold)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-mgmlp_ajax-is-not-defined/#post-15727220)
 * Thanks a lot! Now it works 🙂

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

The topic ‘Javascript error : Uncaught ReferenceError: mgmlp_ajax is not defined’
is closed to new replies.

 * ![](https://ps.w.org/media-library-plus/assets/icon-128x128.jpg?rev=1814048)
 * [Media Library Folders](https://wordpress.org/plugins/media-library-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-plus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [halvorbekkevold](https://wordpress.org/support/users/halvorbekkevold/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-mgmlp_ajax-is-not-defined/#post-15727220)
 * Status: resolved