• Resolved ianbryce

    (@ianbryce)


    I’m currently running Event Manager v5.6.6.1 & BuddyPress 2.8.1
    The directory page of BuddyPress loads fine, along with searches. But when you click on a profile of a user (/directory/username/) this reports a 404 error.

    I’ve tried downgrading to Event Manager v5.6 and 5.5.7.1 but with no joy.

    There are no errors reported in my WP logs or Apache Error logs.

    Can anyone shed some light on this?

    Many thanks in advance, Ian

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi Ian,

    It’s possible this is a conflict caused by your theme or another plugin. To check if it is, can you test with all other plugins deactivated and while running the default WordPress theme?

    Thread Starter ianbryce

    (@ianbryce)

    Hi Caimin, thanks for taking the time to look into this.

    I disabled all plugins except BuddyPress & Event Manage, whilst switching to the TwentyFiftheen theme and I get the same 404 error.

    This error seems relativity new as none of my clients have moaned about this until recently.

    Thanks for your help.

    Ian

    Is this the only page that give this error? Have you tried re-saving your permalinks?

    Thread Starter ianbryce

    (@ianbryce)

    Yes, this is the only page I get a 404 error, each time on click into the users profile. I can search the directory fine. As soon as I disable the Event Manager it works fine.

    I’ve also enabled WP’s debug logs, but this shows no errors on this conflict.

    I tried updating the permalinks before but with no joy either, but I haven’t done this whilst Event Manager and & BuddyPress are the only two active plugins. (i will attempt this when activity on the site dies down.)

    IB

    Let us know when you’ve been able to do that, hopefully it’ll fix the problem.

    Thread Starter ianbryce

    (@ianbryce)

    Still no joy!
    – Disabled All other plugins except BuddyPress & EventsManager
    – Switched to 2015 Theme
    – Updated Permalink structure

    I’ve tracked it down to this function located in /events-manager/buddypress/bp-em-notifications.php on line 60

    function bp_em_remove_screen_notifications() {
    	global $bp;
    	if( function_exists('bp_notifications_delete_notifications_by_type') ){ //backwards compat for BP 1.9
    	    bp_notifications_delete_notifications_by_type( $bp->loggedin_user->id, $bp->events->slug, 'attending' );
    	}else{
    	   bp_core_delete_notifications_by_type( $bp->loggedin_user->id, $bp->events->slug, 'attending' );
    	}
    }

    This function doesn’t exist as it deprecated in v1.9 of BuddyPress, so it seems the check for the function bp_notifications_delete_notifications_by_type is failing some how.

    • This reply was modified 7 years, 9 months ago by ianbryce.

    Sorry, I’ve still not been able to reproduce this problem.

    Presumably you have your /directory/ page set as the Members page under BuddyPress settings? Have you tried changing the page used for that?

    I’m having the same problem, with the following error:

    “No webpage was found for the web address: https://my.site/members/<nickname>/profile/&#8221;

    I can replicate it by activating Event Manager. And get rid of it when I deactivate.

    I tried changing the page under BuddyPress settings. The members list works, Edit Profile loads when I click a user, but error when I click on “Profile”.

    I even get the error when I try to access it from the admin toolbar.

    Hello,

    What solution have been found here, as since last updates, I have the same problem “profile link “Fatal error: Uncaught Error: Call to undefined function bp_core_delete_notifications_by_type() in /homepages………../wp-content/plugins/events-manager/buddypress/bp-em-notifications.php:60

    Could you inform if the solution was found ?

    Kind regards,
    mel

    Thread Starter ianbryce

    (@ianbryce)

    Hi Mel / Blakechard,

    I just commented out the line 60 as I don’t need this notification function in my BuddyPress.

    Then, updated the version number on eventsmanager not to clobber my changes, until I’m ready.

    IB!

    I gave up on BuddyPress and accomplished what i needed other ways.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Buddypress and Event Manager Conflict’ is closed to new replies.