Skip to:
Content
Pages
Categories
Search
Top
Bottom

Spam destroyer plugin & Buddypress

  • Avatar of Itookmyprozac
    Itookmyprozac
    Participant

    @itookmyprozac

    WordPress versions: 3.7.1 and 3.8
    Buddypress version: 1.9
    Site: http://primerasnoticias.com

    Hi,

    I’m using Spam destroyer in a website with an old version of BP and there are not problems with Spam destroyer.

    But in my preproduction site (with WordPress 3.7.1 & BP 1.9) and in primerasnoticias.com (with WordPress 3.8 & BP 1.9) a logged user cannot create a personal blog via My sites – Create a site. The form for creating a site appears ok but it does not work when you fill in it. You will receive (*) this php error:

    Warning: extract() expects parameter 1 to be array, null given in [MY-WEBSITE-DIRECTORY]/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php on line 1034
    
    Fatal error: Call to a member function get_error_code() on a non-object in [MY-WEBSITE-DIRECTORY]/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php on line 1036

    (*) Note: this message does not appear in the production site because I have disabled these messages.

    I have disabled all the plugins, except Spam destroyer and BP to locate the cause. I have also tried two different themes to discard related issues.

    The author of the plugin thinks that the problem is related to BP.

    Any idea?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Not sure what the problem is, but this is the code it’s referencing:

    	$result = bp_blogs_validate_blog_form();
    	extract($result);
    
    	if ( $errors->get_error_code() ) {
    		unset($_POST['submit']);
    		bp_show_blog_signup_form( $blogname, $blog_title, $errors );
    		return false;
    	}

    bp_blogs_validate_blog_form specifically seems to be part of the problem. Do you have multisite enabled on your preproduction site?

    Avatar of Itookmyprozac
    Itookmyprozac
    Participant

    @itookmyprozac

    Hi,

    Thanks for the quick answer!

    Yes, both enviroments are multisite (sorry, forget to mention that).

    The obvious solution is to try another plugin but I am very happy with the results of spam destroyer after a year of use.

    I should mention that I’m running another (multisite) website with buddypress 1.5.5 & Spam destroyer 1.3.2 and everything is working fine.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Not sure why it’s not working.

    For alternative spam plugins/solutions, there’s another more active thread going on here:

    http://buddypress.org/support/topic/stop-buddypress-spam/

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

You must be logged in to reply to this topic.