• Resolved Anonymous User 16833488

    (@anonymized-16833488)


    I have a community with the buddypress plugin and the notifications of the groups are not reaching the users when the redis is active.
    I’m trying to add some constants ip wp-config.php file to solve this but my rules do not seem to be being recognized by the plugin …

    I added this to wp-config.php
    define( 'WP_REDIS_IGNORED_GROUPS', [ 'bp_notifications' ]);

    But the wordpress plugin diagnosis does not recognize this, see

    Status: Connected
    Client: PhpRedis (v4.3.0)
    Drop-in: Valid
    Ping: +PONG
    Redis Extension: 4.3.0
    Predis Client: 1.1.1
    PHP Version: 7.3.4
    Multisite: No
    Global Prefix: "wp_gthi_"
    Blog Prefix: "wp_gthi_"
    Global Groups: ["blog-details","blog-id-cache","blog-lookup","global-posts","networks","rss","sites","site-details","site-lookup","site-options","site-transient","users","useremail","userlogins","usermeta","user_meta","userslugs","blog_meta","bp","bp_last_activity","bp_member_type","bp_xprofile","bp_xprofile_data","bp_xprofile_fields","bp_xprofile_groups","xprofile_meta","bp_activity","bp_activity_comments","activity_meta","bp_blog_meta","bp_friends_requests","bp_friends_friendships","bp_friends_friendships_for_user","bp_groups","bp_group_admins","bp_group_invite_count","group_meta","bp_groups_memberships","bp_groups_memberships_for_user","bp_messages","bp_messages_threads","bp_messages_unread_count","message_meta","bp_notifications","notification_meta"]
    Ignored Groups: ["counts","plugins","themes"]
    Dropins: 
     - advanced-cache.php v by 
     - Redis Object Cache Drop-In v1.4.1 by Till Krüss

    I tried adding it in other ways too but it did not work

    define('WP_REDIS_IGNORED_GROUPS',array('bp_notifications','bp_messages'));

    define( 'WP_REDIS_IGNORED_GROUPS', array(
        "bp_notifications"
    ] );
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Anonymous User 16833488

    (@anonymized-16833488)

    It’s working now, I really do not know what might have happened.
    Before all the changes I made to the wp-config.php file were not shown in the plugin.
    Thank you anyway.

    Plugin Author Till Krüss

    (@tillkruess)

    That usually happens when the constants are defined too late in your config.

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

The topic ‘WP_REDIS_IGNORED_GROUPS’ is closed to new replies.