Title: php7 notifications
Last modified: August 31, 2016

---

# php7 notifications

 *  Resolved [Mike](https://wordpress.org/support/users/mvasin/)
 * (@mvasin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-notifications/)
 * Here’s what I get in admin panel, at least on php7:
 * Notify admin Notice: Array to string conversion in /home/webadmin/www/wordpress/
   wp-content/plugins/wp-members/admin/tab-options.php on line 161
 * Notice: Undefined property: WP_Members::$Array in /home/webadmin/www/wordpress/
   wp-content/plugins/wp-members/admin/tab-options.php on line 161
    /> Notify [webadmin@musweb.ru](https://wordpress.org/support/topic/php7-notifications/webadmin@musweb.ru?output_format=md)
   for each new registration? Change or Filter this address Moderate registration
   Notice: Array to string conversion in /home/webadmin/www/wordpress/wp-content/
   plugins/wp-members/admin/tab-options.php on line 161
 * Notice: Undefined property: WP_Members::$Array in /home/webadmin/www/wordpress/
   wp-content/plugins/wp-members/admin/tab-options.php on line 161
    /> Holds new
   registrations for admin approval Ignore warning messages Notice: Array to string
   conversion in /home/webadmin/www/wordpress/wp-content/plugins/wp-members/admin/
   tab-options.php on line 161
 * Notice: Undefined property: WP_Members::$Array in /home/webadmin/www/wordpress/
   wp-content/plugins/wp-members/admin/tab-options.php on line 161
    /> Ignores WP-
   Members warning messages in the admin panel
 * [https://wordpress.org/plugins/wp-members/](https://wordpress.org/plugins/wp-members/)

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

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-notifications/#post-6972564)
 * That may be a php 7 issue, which, if it is, I’d like to clear up.
 * That line (161) looks like this:
 *     ```
       <input name="<?php echo $arr[$row][1]; ?>" type="checkbox" id="<?php echo $arr[$row][1]; ?>" value="1" <?php if ( $wpmem->$arr[$row][3] == 1 ) { echo "checked"; }?> />&nbsp;&nbsp;
       ```
   
 * Please change it to this and let me know if that resolves the notices:
 *     ```
       <input name="<?php echo $arr[$row][1]; ?>" type="checkbox" id="<?php echo $arr[$row][1]; ?>" value="1" <?php if ( $wpmem->{$arr[$row][3]} == 1 ) { echo "checked"; }?> />&nbsp;&nbsp;
       ```
   
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-notifications/#post-6972565)
 * That may be a php 7 issue, which, if it is, I’d like to clear up.
 * That line (161) looks like this:
 *     ```
       <input name="<?php echo $arr[$row][1]; ?>" type="checkbox" id="<?php echo $arr[$row][1]; ?>" value="1" <?php if ( $wpmem->$arr[$row][3] == 1 ) { echo "checked"; }?> />&nbsp;&nbsp;
       ```
   
 * Please change it to this and let me know if that resolves the notices:
 *     ```
       <input name="<?php echo $arr[$row][1]; ?>" type="checkbox" id="<?php echo $arr[$row][1]; ?>" value="1" <?php if ( $wpmem->{$arr[$row][3]} == 1 ) { echo "checked"; }?> />&nbsp;&nbsp;
       ```
   
 *  Thread Starter [Mike](https://wordpress.org/support/users/mvasin/)
 * (@mvasin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-notifications/#post-6972593)
 * Yes, it seems to work. Thanks.

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

The topic ‘php7 notifications’ is closed to new replies.

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

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mike](https://wordpress.org/support/users/mvasin/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/php7-notifications/#post-6972593)
 * Status: resolved