Title: Uncaught RangeError: Maximum call stack size exceeded
Last modified: August 31, 2016

---

# Uncaught RangeError: Maximum call stack size exceeded

 *  [piotr1985](https://wordpress.org/support/users/piotr1985/)
 * (@piotr1985)
 * [10 years ago](https://wordpress.org/support/topic/uncaught-rangeerror-maximum-call-stack-size-exceeded-2/)
 * I am trying to use this plugin with the Enfold theme. I can attach a file in 
   the page if I use the upload function, but I need to hit the blue refresh icon
   to get it to show up.
 * If I select an existing file in the media library, nothing attaches and when 
   I view the console in Chome, I see the following error repeat
 * Uncaught RangeError: Maximum call stack size exceeded
    window.send_to_editor 
   @ avia_media.js?ver=4.5.2:114
 * Is there a way to fix this so it works with the Enfold theme?
 * Cheers,
    Piotr
 * [https://wordpress.org/plugins/wp-attachments/](https://wordpress.org/plugins/wp-attachments/)

The topic ‘Uncaught RangeError: Maximum call stack size exceeded’ is closed to new
replies.

 * ![](https://ps.w.org/wp-attachments/assets/icon-256x256.png?rev=2617427)
 * [WP Attachments](https://wordpress.org/plugins/wp-attachments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-attachments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-attachments/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [piotr1985](https://wordpress.org/support/users/piotr1985/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/uncaught-rangeerror-maximum-call-stack-size-exceeded-2/)
 * Status: not resolved