Title: PHP error when creating level
Last modified: May 30, 2018

---

# PHP error when creating level

 *  [Astrix](https://wordpress.org/support/users/astrix/)
 * (@astrix)
 * [8 years ago](https://wordpress.org/support/topic/php-error-when-creating-level/)
 * Php error is shown when creating level of membership.
 * Adding a name, then role of membership level, and time of expiration, when clicking
   ok, this appears :
 *  Warning: count(): Parameter must be an array or an object that implements Countable
   in C:\wamp64\www\site\wp-content\plugins\simple-membership\classes\class.swpm-
   level-form.php on line 115
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\wamp64\www\site\wp-content\plugins\simple-membership\classes\class.swpm-
   level-form.php:115) in C:\wamp64\www\site\wp-includes\pluggable.php on line 1216
    -  This topic was modified 8 years ago by [Astrix](https://wordpress.org/support/users/astrix/).
    -  This topic was modified 8 years ago by [Astrix](https://wordpress.org/support/users/astrix/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [8 years ago](https://wordpress.org/support/topic/php-error-when-creating-level/#post-10340871)
 * Hi, sorry to hear about your errors. Can you create a support ticket so that 
   we can assist you.
 * Thank you

Viewing 1 replies (of 1 total)

The topic ‘PHP error when creating level’ is closed to new replies.

 * ![](https://ps.w.org/simple-membership/assets/icon-128x128.png?rev=974529)
 * [Simple Membership](https://wordpress.org/plugins/simple-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-membership/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/php-error-when-creating-level/#post-10340871)