Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • alriknijdam
    Participant

    @alriknijdam

    Saw you guys released 4.0.0 so I deinstalled the old version, did some repairs on the database and installed the new version of buddypress. So far so good, in 24 hours this fatal error has not popped up again. Let’s hope it stays that way 🙂


    alriknijdam
    Participant

    @alriknijdam

    I performed the search again. This time I downloaded ALL files from my vps. The results are still the same.

    Can’t say I understand recursive functions in php but they seem to work. Just looks so strange to call a function inside itself. In this instance; How does do_action( 'bp_members_screen_display_profile' ); actually know what to do?

    function bp_members_screen_display_profile() {
    
    	do_action( 'bp_members_screen_display_profile' );
    
    	bp_core_load_template( apply_filters( 'bp_members_screen_display_profile', 'members/single/home' ) );
    }

    Is there anything I can do to help out and dig a little bit deaper?

    Best regards,
    Alrik


    alriknijdam
    Participant

    @alriknijdam

    This was already including my childtheme & custom functions.php.
    Literally everything slightly related to wordpress was checked.

    Best regards,


    alriknijdam
    Participant

    @alriknijdam

    Alright, I’ve downloaded my entire WP directory and searched for bp_members_screen_display_profile with Notepad++ Search in Files. But the only files showing hits belong to Buddypress.

    F:\\wp-content\plugins\buddypress\bp-members\classes\class-bp-members-component.php (3 hits)
    	Line 329: 				'screen_function'     => 'bp_members_screen_display_profile',
    	Line 346: 			'screen_function' => 'bp_members_screen_display_profile',
    	Line 359: 				'screen_function'     => 'bp_members_screen_display_profile',
    F:\\wp-content\plugins\buddypress\bp-members\classes\class-bp-members-theme-compat.php (1 hit)
    	Line 58: 			do_action( 'bp_members_screen_display_profile' );
    F:\\wp-content\plugins\buddypress\bp-members\screens\profile.php (3 hits)
    	Line 15: function bp_members_screen_display_profile() {
    	Line 22: 	do_action( 'bp_members_screen_display_profile' );
    	Line 31: 	bp_core_load_template( apply_filters( 'bp_members_screen_display_profile', 'members/single/home' ) );

    CRITICAL Cannot redeclare bp_members_screen_display_profile() (previously declared in /wp-content/plugins/buddypress/bp-members/screens/profile.php:22) in /wp-content/plugins/buddypress/bp-members/screens/profile.php line 32

    How to go from here?

    Best regards,
    Alrik


    alriknijdam
    Participant

    @alriknijdam

    Great tip, I’ll look into that asap and let you know.

    Thanks,
    Alrik


    alriknijdam
    Participant

    @alriknijdam

    Tricky part is I can’t just disable all plugins since I got quit a few users. I also don’t know how to duplicate this error so disabling them for a short time to see if the error remains isn’t an option as well.
    Is there any possibility that you can point me a little bit more in the right direction? Maybe if I sum up all the plugins in use?

    Best regards,
    Alrik

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar