• Resolved jookkoo

    (@jookkoo)


    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

    (@slaffik)

    It should work with any groups.
    On which page do you see these warnings?

    https://github.com/slaFFik/CD-BP-Avatar-Bubble/issues/28

    Thread Starter jookkoo

    (@jookkoo)

    I saw this warning, when i’ve select any options and click “Save Settings”

    Plugin Author Slava Abakumov

    (@slaffik)

    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

    (@jookkoo)

    Please see this link, 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

    (@slaffik)

    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.

    Plugin Author Slava Abakumov

    (@slaffik)

    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

    (@slaffik)

    Also, are you on multisite? If yes – where the BuddyPress and BPAP plugins are activated?

    Thread Starter jookkoo

    (@jookkoo)

    I’m not on multisite.

    Thread Starter jookkoo

    (@jookkoo)

    I’m not using wp-cli tool.

    Plugin Author Slava Abakumov

    (@slaffik)

    Thread Starter jookkoo

    (@jookkoo)

    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

    (@slaffik)

    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

    (@jookkoo)

    Hello Slava Abakumov, Your last suggestion can FIX my issue and your plugin work like a charm. Thank you.

    Plugin Author Slava Abakumov

    (@slaffik)

    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.