Title: JS error when theme is activated
Last modified: August 31, 2016

---

# JS error when theme is activated

 *  [rabmalin](https://wordpress.org/support/users/rabmalin/)
 * (@rabmalin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/js-error-when-theme-is-activated/)
 * I get JS error when theme is activated.
    `Uncaught TypeError: Cannot read property'
   length' of null @ masonry.min.js?ver=3.1.2:17s`

The topic ‘JS error when theme is activated’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/food-park/1.0.0/screenshot.png)
 * Food Park
 * [Support Threads](https://wordpress.org/support/theme/food-park/)
 * [Active Topics](https://wordpress.org/support/theme/food-park/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/food-park/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/food-park/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [rabmalin](https://wordpress.org/support/users/rabmalin/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/js-error-when-theme-is-activated/)
 * Status: not resolved