Skip to:
Content
Pages
Categories
Search
Top
Bottom

Issue with Automatic Actions on BP Groups and Profiles using Elementor Pro

  • @smelendez

    Participant

    I am currently using:

    – WordPress v6.8.1
    – Theme: Sweetdate by SeventhQueen v3.9.2
    – BuddyPress v14.3.4
    – Elementor v3.29.2
    – Elementor Pro v3.29.2

    I have noticed a strange behavior occurring on BuddyPress group and profile pages. Specifically, the issue is:

    When visiting a BuddyPress group, sometimes:

    – If the user is not a member, they are automatically added to the group without clicking the join button.

    – If the user is already a member, they are automatically removed from the group without clicking the leave button.

    When visiting a user profile, sometimes:

    – If the visitor is not a friend, a friend request is automatically sent.

    – If they are already friends, the friendship is automatically cancelled.

    It seems like if the “Join Group”, “Leave Group”, “Add Friend” and “Cancel Friendship” buttons are being triggered automatically upon loading the corresponding pages. This does not happen every time, so it has been difficult for me to replicate it to show it to you, but it occurs frequently enough to negatively affect the user experience.

    In an effort to identify the cause, I have done the following tests:
    – Deactivated all custom scripts.
    – Deactivated all plugins except those required for WordPress and the theme to function correctly.
    – Cleared and purged all caches.

    While running these tests, the issue did not occur. However, as I began reactivating plugins one by one (still with my custom scripts deactivated), I found that the issue reappears when Elementor Pro is activated. This leads me to believe the problem may come from a conflict between Elementor Pro and BuddyPress, the theme, or WordPress itself.

    I am sharing a video where I was able to replicate the issue: https://drive.google.com/file/d/1uuLIc-hGQHHq5BGY3b5M3pklMMEQqKyx/view?usp=sharing

    Do you have any idea what could be causing this behaviour, and if it is an incompatibility with BuddyPress?

    Thank you all in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @vibethemes

    Participant

    this issue is quite strange it seems the action hook is triggered on page loads.
    is BP classic plugin installed and active ?

    @smelendez

    Participant

    Hi, thank you for your reply. Yes, it is a strange issue and I understand that it must be some incompatibility or something similar with the new versions. Because as I show in the video I attached in my previous reply, I have deactivated all my custom scripts and I was activating all the plugins one by one (after having previously deactivated all of them) until I got to Elementor Pro and detected the issue again. In my plugin list (you can see it in the video) I do not have the BP classic plugin. The BP related plugins I have are:

    – BuddyPress v14.3.4
    – bbPress v2.6.13
    – BP Profile Search v5.8.3
    – BuddyPress Xprofile Custom Field Types v1.2.7
    – BuddyPress Profile Completion v1.1.0
    – Block, Suspend, Report for BuddyPress v3.6.4
    – BuddyPress Follow v1.3-alpha
    – Buddy Notification Bell v1.0.4.

    During my tests, I deactivated all of these except for BuddyPress, BuddyPress Xprofile Custom Field Types, BP Profile Search and bbPress which are the plugins that came with the theme I use in WordPress.

    @smelendez

    Participant

    After extensive troubleshooting by my support and the support from the technical team of the WordPress theme I use, we both came to the conclusion that the issue seems to happen upon activating the Elementor Pro plugin. We have both been able to replicate the issue on a default WordPress theme such as the Twenty Twenty One theme, so is it possible that it could be an incompatibility between BuddyPress and Elementor Pro or vice versa?

    We managed to replicate the issue in a clean environment, no custom code, no additional plugins, just Elementor, Elementor Pro and BuddyPress.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar