Title: Plugin Warning
Last modified: February 16, 2017

---

# Plugin Warning

 *  Resolved [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/)
 * Hello Author,
 * I got warning as below:
 * For what types of groups this bubble should appear?
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 204
    value=”public”/> For public groups
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 207
    value=”private”/> For private groups
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 210
    value=”hidden”/> For hidden groups
 * Please select below fields you want to show in a bubble:
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 219
    value=”name”/> Group name
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 222
    value=”short_desc”/> Short description
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 225
    value=”status”/> Group status
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 228
    value=”members”/> Number of members
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 231
    value=”join”/> Join/Leave group links
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 234
    value=”activity_date”/> Latest activity date
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 237
    value=”feed_link”/> Feed link (displayed if latest activity is checked)
 * Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/
   cookkoo.com/httpdocs/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-admin.php on
   line 240
    value=”forum_stat”/> Forum statistics (number of topics and posts)
 * Please help to fix this.
 * Regards,

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

 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8813894)
 * It should work with any groups.
    On which page do you see these warnings?
 * [https://github.com/slaFFik/CD-BP-Avatar-Bubble/issues/28](https://github.com/slaFFik/CD-BP-Avatar-Bubble/issues/28)
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8816758)
 * I saw this warning, when i’ve select any options and click “Save Settings”
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8820421)
 * Where exactly? What is the URL? Was it in BPAP plugin admin area?
    What are the
   versions of these things?
    - BuddyPress
    - WordPress
    - BPAP plugin
    - PHP
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8822075)
 * Please see this link, [https://cookkoo.com/bpap.jpg](https://cookkoo.com/bpap.jpg)
 * BuddyPress Version 2.8.0
    WordPress Version 4.7.2 BPAP plugin Version 2.7.1 PHP
   version 7.0.15
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8822093)
 * How the BPAP plugin was installed and activated? Were you using `wp-cli` tool?
 * You don’t have any defaults for a plugin, but when the plugin is installed using
   normal interface in wp-admin area – all defaults are set on plugin activation
   on Plugins page.
    So that’s strange.
    -  This reply was modified 9 years, 1 month ago by [Slava Abakumov](https://wordpress.org/support/users/slaffik/).
    -  This reply was modified 9 years, 1 month ago by [Slava Abakumov](https://wordpress.org/support/users/slaffik/).
    -  This reply was modified 9 years, 1 month ago by [Slava Abakumov](https://wordpress.org/support/users/slaffik/).
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8822105)
 * Or have you wiped the database somehow? Or migrated?
    You should be able to easily
   fix by deactivating the plugin, removing it, search on Plugins page for it again,
   install and activate – defaults will be populated and you should not have this
   issue.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8822110)
 * Also, are you on multisite? If yes – where the BuddyPress and BPAP plugins are
   activated?
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8822636)
 * I’m not on multisite.
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8822641)
 * I’m not using wp-cli tool.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8822824)
 * Try this solution:
 * [https://wordpress.org/support/topic/plugin-warning-2/#post-8822105](https://wordpress.org/support/topic/plugin-warning-2/#post-8822105)
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8824044)
 * I already have removing it, search on Plugins page for it again, install but 
   after i’m activate it serveral times. it’s still have nothing happen (Can not
   Activate and still Deactivate). i never seen the plugin like this before.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8824672)
 * Do you have phpMyAdmin (or similar tool) to work directly with a database?
    Also
   FPT/SFTP access to a site file system?
 * If yes:
    - login via (S)FTP and remove the folder `/wp-content/plugins/cd-bp-avatar-bubble`
      with all its content.
    - open the database **of your WordPress installation** (you can see the database
      name in `wp-config.php` file) and find `meta_key=cd_ab` in `wp_options` table
      and remove it
    - try to reinstall the plugin again (reload Plugins page in admin area, download
      BPAP as a zip, click Add New and upload the file, click Activate link after
      that)
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8828968)
 * Hello Slava Abakumov, Your last suggestion can FIX my issue and your plugin work
   like a charm. Thank you.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8829246)
 * Glad to here that.
 * Would be nice if you could leave a (hopefully positive) review 🙂

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

The topic ‘Plugin Warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cd-bp-avatar-bubble_6c6c6c.svg)
 * [BuddyPress Avatar Bubble](https://wordpress.org/plugins/cd-bp-avatar-bubble/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cd-bp-avatar-bubble/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cd-bp-avatar-bubble/)
 * [Active Topics](https://wordpress.org/support/plugin/cd-bp-avatar-bubble/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cd-bp-avatar-bubble/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cd-bp-avatar-bubble/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-warning-2/#post-8829246)
 * Status: resolved