BuddyDev

Search

Error when activating Buddyblog

Tagged: 


  • Participant
    Level: Initiated
    Posts: 13
    Aldo on #10448

    Hello

    We wanted to try out Buddyblog and got the following notice after activation:
    Notice: /plugins/buddyblog/core/filters.php on line 192

    This line appears about 20+ times.

    Any idea?

    Thanks,
    Aldo


  • Participant
    Level: Initiated
    Posts: 13
    Aldo on #10449

    Just an Addition, the notice returns:
    Notice: Trying to get property of non-object in /site/web/app/plugins/buddyblog/core/filters.php on line 192


  • Keymaster
    (BuddyDev Team)
    Posts: 15471
    Brajesh Singh on #10458

    Hi Aldo,
    Thank you for reporting.
    Are you using 1.1.9?

    I see the following code on line 192

    
        if ( is_null( $post_type_obj ) || $post_type_obj->cap->edit_post != $args[0] ) {
    		return $allcaps;
    	}
        
    

    It is very strange that the above line is throwing error. Is there a possibility that you had buddyblog active with some post type earlier and that post type is not registered?

    Or can you please visit settings->BuddyBlog and select a post type and save. Then you may want to deactivate/reactivate to see if it is still throwing error.

    I don’t see the error on a non multisite WordPress/BuddyPress install.

    Please check and let me know.

    Thank you
    Brajesh


  • Participant
    Level: Initiated
    Posts: 13
    Aldo on #10862

    Hi Brajesh

    Thanks for your feedback. After updating to 1.2 the notice disappeared 🙂

    But what I’m not understanding is, there is no Blog in a group. I try to enable creating blog pages in specific groups.

    How can this be achieved?

    Thanks
    Aldo


  • Keymaster
    (BuddyDev Team)
    Posts: 15471
    Brajesh Singh on #10873

    Hi Aldo,
    BuddyBlog does not add blogging capabilities to Groups. It is for user bloging. Please look int o Blog Categories for groups to enable it for groups.

    Regards
    Brajesh


  • Participant
    Level: Initiated
    Posts: 13
    Aldo on #10874

    Hi Brajesh,
    Thanks a lot for your feedback. Maybe this is the wrong plugin for what I’m after.
    I would like to allow members of a group to create just pages/posts.
    So they would have new tab “Pages”, and there a list with the pages where they can add, edit and delete.

    Maybe this can be achieved with another of your plugins?

    Thanks,
    Aldo


  • Participant
    Level: Initiated
    Posts: 13
    Aldo on #10885

    Hi Brajesh

    I just tried “Blog Categories for Groups”.
    When I want to create a new post in a group I get the following notices:

    Notice: map_meta_cap wurde fehlerhaft aufgerufen. Der Inhaltstyp group-docs wurde nicht registriert. Es könnte deshalb unzuverlässig sein, die Fähigkeit “edit_post” mit einem Inhalt dieses Typs abzugleichen. Weitere Informationen:
    Debugging in WordPress (engl.)
    (Diese Meldung wurde in Version 4.4.0 hinzugefĂĽgt.) in /site/web/wp/wp-includes/functions.php on line 4139

    In english this means something like: Notice: map_meta_cap was invalid. The group-docs content type was not registered. It might therefore be unreliable to match the “edit_post” ability with a content of this type.

    The further down, after the text field, I get all these:
    Notice: Trying to get property of non-object in /site/web/wp/wp-admin/includes/post.php on line 1392

    Notice: Trying to get property of non-object in /site/web/wp/wp-admin/includes/post.php on line 1392

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-edit-form.php on line 704

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-edit-form.php on line 704

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-edit-form.php on line 717

    Warning: in_array() expects parameter 2 to be array, object given in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-edit-form.php on line 717

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-edit-form.php on line 717

    Warning: in_array() expects parameter 2 to be array, object given in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-edit-form.php on line 717

    Notice: Trying to get property of non-object in /site/web/wp/wp-includes/class-wp-walker.php on line 137

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-terms-checklist-walker.php on line 32

    Warning: in_array() expects parameter 2 to be array, object given in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-terms-checklist-walker.php on line 32

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-terms-checklist-walker.php on line 33

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-terms-checklist-walker.php on line 33

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-terms-checklist-walker.php on line 33

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-terms-checklist-walker.php on line 33

    Warning: in_array() expects parameter 2 to be array, object given in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-terms-checklist-walker.php on line 33

    Notice: Trying to get property of non-object in /site/web/app/plugins/bp-simple-front-end-post/core/classes/class-terms-checklist-walker.php on line 33

    Any idea what is going on here?
    And can we enable the blog in the groups only?

    Thanks
    Aldo


  • Keymaster
    (BuddyDev Team)
    Posts: 15471
    Brajesh Singh on #10887

    Hi Aldo,
    Please allow me a day to check this plugin. I haven’t personally tested it recently. Will give it a try and then get back to you.

    Thank you
    Brajesh


  • Participant
    Level: Initiated
    Posts: 13
    Aldo on #10972

    Hi Brajesh

    Did you have chance to look into it?

    Thanks
    Aldo


  • Keymaster
    (BuddyDev Team)
    Posts: 15471
    Brajesh Singh on #10987

    Hi Aldo,
    I am sorry to keep you waiting. Please allow me till 8th to release a new version of BuddyBlog. We are removing dependencies and it should fix any existing issue. A lot of new features are planned too.

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved
Subscribe