WordPress.org

Ready to get started?Download WordPress

Forums

BP GTM System
Group Assignment does not work / throwing error (4 posts)

  1. theewebguy
    Member
    Posted 2 years ago #

    First the group assignment does not work... when i assign to one group it shows up in all groups

    Second when I deselect all groups it creates this error
    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/content/62/7438462/html/...../wp-content/plugins/bp-gtm-system/lib/actions.php on line 1

    WordPress 3.3.1

    BP GTM System v1.9.5

    BuddyPress Version 1.5.4

    http://wordpress.org/extend/plugins/bp-gtm-system/

  2. colecmc
    Member
    Posted 2 years ago #

    I am having the same issue pretty much. It shows up on almost every page.
    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in ../../wp-content/plugins/bp-gtm-system/lib/actions.php on line 19

    What array or object should be there?

    http://wordpress.org/extend/plugins/bp-gtm-system/

  3. theewebguy
    Member
    Posted 2 years ago #

    Seems to me in groups the code is...

    A. If one group is activated for GTM it processes an array with all groups

    B. If no group is activated GTM code is an empty array

    Therefore maybe an "if" statement of empty means don't do anything
    Then to check if there is one variable or an array

    Should be an easy fix for someone who knows the code

  4. Slava UA
    Member
    Plugin Author

    Posted 2 years ago #

    I will look into this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic