Support » Plugin: Facebook AWD All in one » [Plugin: Facebook AWD All in one] Install error

  • Resolved yukiko-kawa


    when active plug-in I have this error in admin panel:

    Fatal error: Call to a member function add_cap() on a non-object in /home/bvzynpv/public_html/ on line 506

    Plug-in installed on site

    Advanced Access Manager
    Archivist – Custom Archive Templates
    Collapsing Categories
    Content Progress
    Custom Content List
    Custom Content Type Manager
    Duplicate Post
    FPW Post Instructions
    GD Star Rating
    Google Analytics Tracking Code Embeder
    KK I Like It
    My Videotag
    Plugin Notes
    Private Messages For WordPress
    RB Internal Links
    Simple History
    Social Login for wordpress
    Social Sharing Toolkit
    TinyMCE Advanced
    WP Report Error
    WP Super Cache
    WP UI – Tabs, accordions and more.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AHWEBDEV


    You have a plugin that modify or remove the default role of WP ?

    Plugin Author AHWEBDEV


    So will have problem, if this plugin remove the default roles the plugin can’t work.

    The plugin provide multiple features depending of the user roles.
    As example, an editor can select pages in admin to publish on…
    So if the plugin redefine the capabilities on role this can’t work.

    To help you understand, you can look in the class AWD_facebook.php

     * Set Admin Roles
     * Add FB capabalities to default WP roles
     * @return void
    public function set_admin_roles()
    	$roles = array(
    			'administrator' => array(
    			'editor' => array(
    			'author' => array(
    	$roles = apply_filters('AWD_facebook_admin_roles', $roles);
    	foreach ($roles as $role => $caps) {
    		$wp_role = get_role($role);
    		foreach ($caps as $cap) {

    Maybe this will help you to add the good capabilities to your custom roles…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Facebook AWD All in one] Install error’ is closed to new replies.