Title: Error
Last modified: April 17, 2020

---

# Error

 *  Resolved [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/)
 * “Uncaught TypeError: Cannot read property ‘forEach’ of undefined (admin-3-16-
   4.js”
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-1335%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12689572)
 * Hi [@checmark](https://wordpress.org/support/users/checmark/),
 * Can you provide some context?
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12689595)
 * That was the error I received after adding the photos. I didn’t see anywhere 
   to do an attachment of the error.
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12689606)
 * You can upload a screenshot somewhere like Google Drive or Dropbox. Otherwise
   you can use a service like [https://prnt.sc/](https://prnt.sc/) too.
 * Can you look into the browser console for any other error messages? Refresh the
   page a couple of times to see if anything shows up.
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12689981)
 * Sorry. Not following you. I have Google Drive but don’t know how to upload from
   there. I reported the exact wording of the error. Not sure how the graphic would
   help.
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12690009)
 * Hi [@checmark](https://wordpress.org/support/users/checmark/),
 * > Not sure how the graphic would help.
 * It’s part of the debugging process. Usually there are other error messages in
   the browser console and more information such as line numbers, etc.
 * No one else is reporting this error so in order to figure out what is unique 
   to your setup we have to start from the top and eliminate the obvious.
 * The error message alone isn’t helpful “‘forEach’ of undefined” but we need to
   figure out what is undefined.
 * Most often it’s a conflict with another plugin. Can you disable other plugins
   to see if the issue is resolved (this is the second step in debugging)? If it’s
   resolved, you can enable them one by one (or in groups) to isolate the plugin
   in conflict.
 * You also might get a better error message by enabling debug mode. In wp-config.
   php you can add or update this line `define( 'WP_DEBUG', true );` and also add
   this one: `define( 'SCRIPT_DEBUG', true );`
 * Let me know if you have any questions.
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12690117)
 * Have used this plugin for a very long time and never had any issues. It might
   have come from the 500 plus photos I uploaded to the gallery. I’m now uploading
   a few at a time but I can’t find where to sort them. I wanted an alpha sort by
   the file name.
 * Appreciate your help.
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12691325)
 * I’ve only added about twenty of more than 500 photos. Running the preview but
   it’s been sitting there for more than ten minutes or so. ??
 * How do I sort the photos by filename?
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12691328)
 * New error – “Cannot read property ‘style’ of null”
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12713625)
 * Hi [@checmark](https://wordpress.org/support/users/checmark/)
 * Did you have any luck with the suggestions I made above?
 * Many users have thousands of images so that’s probably not the issue.
 * If it’s slow uploading a bunch of images directly to MetaSlider you can first
   upload them directly to the media library, then select them from the slideshow.
   We use the built in system.
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12714301)
 * No. Seems like I can’t get any slider that works. Numerous issues with NextGEN
   and others. Just tried to use Smart Slider again but they have way to bulk upload
   or sort. They expect me to laboriously upload one images at a time when I have
   more than 500 to add. Then they have no way to sort, for example, on filename.
   Even the drag and drop doesn’t work properly.
 * Very frustrating that I can’t find a simple slider that works.
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12714706)
 * Hi [@checmark](https://wordpress.org/support/users/checmark/)
 * > “Uncaught TypeError: Cannot read property ‘forEach’ of undefined (admin-3-16-
   > 4.js”
 * Do you still see this error? I took a closer look at that file and the forEach
   runs against images that are returned from the server. That it’s “undefined” 
   indicates that your server is sending bad data back over the wire (probably an
   error message).
 * Can you open the browser dev tools and when that error show check on the network
   tab to see what the response is?
 * Let me know if you need more specific instructions.
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12797710)
 * Hi,
 * I’ll mark this as resolved as we didn’t hear back, but feel free to reply if 
   needed.

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

The topic ‘Error’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3568997)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/error-1335/#post-12797710)
 * Status: resolved