Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • pihla
    Participant

    @pihla

    JIIIHAAAAA!!!! That did it, thank you soooo much! <3


    pihla
    Participant

    @pihla

    Hi,

    Yes, id is set to primary, not auto-increment. Can I change this somehow?


    pihla
    Participant

    @pihla

    Yes, this is exactly the case, it does not create the second group, because the id is 0 so the auto-increment is not working (and the first one created a row in the database, but does not show in the front end)

    Yes, there is nothing wrong with the id 0 with the forum, I was just wondering why does it give duplicate entry warning with this:
    WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
    INSERT INTO wp_bp_groups ( creator_id, name, slug, description, status, enable_forum, date_created ) VALUES ( 22, ‘Vanhat talot’, ‘vanhat-talot’, ‘Vanhat talot’, ‘public’, 0, ‘2015-06-16 08:25:16′ )

    and the only 0 in this insert is the enable_forum which should not be primary, but well this might just refer to the group_id field that is not auto incremented.

    I even updated the themes Buddy Press and bbPress files (Kleo-theme) and updated again Buddy Press, even though it was in version 2.3.1, did not help…


    @shanebp
    where did you find the information about the non-BP reports where WP 4.2.2 $wpdb->insert_id returns 0? I could try to find the info from there.


    pihla
    Participant

    @pihla

    I emptied these three:
    wp_groups
    wp_groups_groupmeta
    wp_groups_members

    I managed to create one group (which does not show in the public side) but the next group I created gave this error:
    WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
    INSERT INTO wp_bp_groups ( creator_id, name, slug, description, status, enable_forum, date_created ) VALUES ( 22, ‘Vanhat talot’, ‘vanhat-talot’, ‘Vanhat talot’, ‘public’, 0, ‘2015-06-16 08:25:16’ )

    I can not understand, this seems to say that enable_forum would be primary key which it can not be…


    pihla
    Participant

    @pihla

    @shanebp

    I have tried with several group names, does it have a difference?


    pihla
    Participant

    @pihla

    Hello,

    I had to delete the group that had been created with id 0 before I got this tracer to work. But then it showed this:

    newly created group args: BP_Groups_Group Object
    (
    [id] => 0
    [creator_id] => 22
    [name] => test group
    [slug] => test-group
    [description] => this is a test group
    [status] => public
    [enable_forum] => 0
    [date_created] => 2015-06-16 07:54:06
    [admins] =>
    [mods] =>
    [total_member_count] =>
    [is_member] =>
    [is_invited] =>
    [is_pending] =>
    [last_activity] =>
    [user_has_access] =>
    [args] => Array
    (
    [populate_extras] =>
    )

    )

    So the problem is that the group is always created with id=0. I was able to create a page though, so I don’t think it is the same problem that @shanebp mentioned as a problem of 4.2.2 but who knows.


    pihla
    Participant

    @pihla

    I have the same problem.


    pihla
    Participant

    @pihla

    Ok the pacth fixed that issue, but now I get information that there is a duplicate entry in the database and it continues even if I delete all rows from wp_bp_groups and wp_bp_groups_groupmeta

    It seems that the group created is always created with id 0. This has not happened before. Why can this be? My wp shows that all of the plugins are up to date.


    pihla
    Participant

    @pihla

    Hi,

    I get the following error:
    Strict Standards: Declaration of BBP_Forums_Group_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) in /home/c5dh5rak/public_html/wp-content/plugins/bbpress/includes/extend/buddypress/groups.php on line 28

    I’m using BuddyPress 2.3.1 and WP 4.2.2 Finnish.

    The site is Homesome.com

    Thanks for support =)

    -Pihla

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