Title: [Plugin: Custom Fields Suite] File Upload JS Error
Last modified: August 20, 2016

---

# [Plugin: Custom Fields Suite] File Upload JS Error

 *  [cus003](https://wordpress.org/support/users/cus003/)
 * (@cus003)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-fields-suite-file-upload-js-error/)
 * I’ve just updated to the latest version of Custom Fields Suite and it seems to
   have broken.
 * Whenever I click the “Add File” button, nothing loads and I get JS errors:
 * 1) Uncaught TypeError: Cannot read property ‘length’ of undefined – load-scripts.
   php:2
 * 2) Uncaught ReferenceError: wp is not defined – post-new.php:547
 * In reality, the code in question for #2 lies in “file.php” in the plugin files.
 * Does anyone know what’s going on here?
 * Thanks a lot,
    Marcus

The topic ‘[Plugin: Custom Fields Suite] File Upload JS Error’ is closed to new 
replies.

 * 0 replies
 * 1 participant
 * Last reply from: [cus003](https://wordpress.org/support/users/cus003/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-fields-suite-file-upload-js-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
