Title: Can&#039;t add rules
Last modified: August 31, 2016

---

# Can't add rules

 *  Resolved [MeanderingCode](https://wordpress.org/support/users/meanderingcode/)
 * (@meanderingcode)
 * [10 years ago](https://wordpress.org/support/topic/cant-add-rules/)
 * In the Stream > Settings page, clicking on the “Add New Rule” button has no effect.
 * My developer tools console shows two errors when I do:
 * `The select2('destroy') method was called on an element that is not using Select2.`
 * `Uncaught TypeError: Cannot read property 'destroy' of undefined`
 * These errors are (obviously) raised in the select2.js file
 * [https://wordpress.org/plugins/stream/](https://wordpress.org/plugins/stream/)

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

 *  [bigredapple56](https://wordpress.org/support/users/bigredapple56/)
 * (@bigredapple56)
 * [10 years ago](https://wordpress.org/support/topic/cant-add-rules/#post-7448239)
 * I’m having the same problem.
 *  [Palpatine1976](https://wordpress.org/support/users/palpatine1976/)
 * (@palpatine1976)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/cant-add-rules/#post-7448244)
 * Yup – I reported same issue here – no response from authors.
    [https://wordpress.org/support/topic/v306-breaks-settings-select2?replies=1](https://wordpress.org/support/topic/v306-breaks-settings-select2?replies=1)
 * Also their changelog is way off – says April was last update, yet repo says “
   updated 2 weeks ago”
 *  [bigredapple56](https://wordpress.org/support/users/bigredapple56/)
 * (@bigredapple56)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/cant-add-rules/#post-7448274)
 * I really need the “add new rule” function to work. I have tried similar plugins&
   they don’t have the same functionality available in Stream. If there was a paid
   version – where the “rule” function worked, I would happily order it!
 *  [Luke Carbis](https://wordpress.org/support/users/lukecarbis/)
 * (@lukecarbis)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/cant-add-rules/#post-7448279)
 * Hi bigredapple56,
 * Sorry that this wasn’t working in the 3.0.6 release. We’ve fixed the problem 
   in 3.0.7. Could you please test and let me know how you go?
 *  [Palpatine1976](https://wordpress.org/support/users/palpatine1976/)
 * (@palpatine1976)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cant-add-rules/#post-7448280)
 * Hi – looks like 3.0.7 still has problems. If I try to add a Role to make an exclusion
   rule, I see an Ajax error (meaning I can’t select a user or role)
 * `Warning: trim() expects parameter 1 to be string, array given in /var/app/current/
   wp-content/plugins/stream/classes/class-settings.php on line 87`
 *  [Luke Carbis](https://wordpress.org/support/users/lukecarbis/)
 * (@lukecarbis)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cant-add-rules/#post-7448281)
 * Hi Sith Lord Goz,
 * I’ve just tested again and I’m unable to replicate the issue. [https://cloudup.com/cRhp45DldXX](https://cloudup.com/cRhp45DldXX)
 * Which other plugins are you running? Any modification of user roles?
 * Luke

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

The topic ‘Can't add rules’ is closed to new replies.

 * ![](https://ps.w.org/stream/assets/icon.svg?rev=3128015)
 * [Stream](https://wordpress.org/plugins/stream/)
 * [Support Threads](https://wordpress.org/support/plugin/stream/)
 * [Active Topics](https://wordpress.org/support/plugin/stream/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stream/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stream/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [Luke Carbis](https://wordpress.org/support/users/lukecarbis/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/cant-add-rules/#post-7448281)
 * Status: resolved