WPFront
  • Home
  • Plugins
    • Notification Bar Plugin
      • Plugin Ideas
      • Plugin Settings
      • Plugin FAQ
    • Scroll Top Plugin
      • Plugin Settings
      • Plugin FAQ
    • User Role Editor Plugin
      • Plugin Documentation
      • Plugin Settings
      • Plugin FAQ
    • Paddle Gateway Plugin
  • Go Pro
  • Support
    • Documentation
    • FAQ
  • Affiliates
  • Contact
  • Login
  • Cart
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 8 posts - 16 through 23 (of 23 total)
← 1 2
  • Author
    Posts
  • August 16, 2019 at 4:43 pm in reply to: "Important: This user has super admin privileges" warning #88177
    Gerald Menzel
    Spectator
    This reply has been marked as private.
    August 6, 2019 at 5:20 pm in reply to: "Important: This user has super admin privileges" warning #87771
    Gerald Menzel
    Spectator

    I just noticed the following in the debug.log

    [06-Aug-2019 11:45:35 UTC] PHP Notice:  Undefined variable: post_type_obj in /www/htdocs/w01174e1/wp-dev/wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/ppro/custom-post/class-customize-capabilities-pro.php on line 72
    [06-Aug-2019 11:45:35 UTC] PHP Notice:  Trying to get property '_builtin' of non-object in /www/htdocs/w01174e1/wp-dev/wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/custom-post/class-customize-capabilities.php on line 105
    [06-Aug-2019 11:45:35 UTC] PHP Notice:  Trying to get property 'show_ui' of non-object in /www/htdocs/w01174e1/wp-dev/wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/custom-post/class-customize-capabilities.php on line 109
    [06-Aug-2019 11:45:35 UTC] PHP Notice:  Trying to get property 'capability_type' of non-object in /www/htdocs/w01174e1/wp-dev/wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/custom-post/class-customize-capabilities.php on line 109
    [06-Aug-2019 11:45:35 UTC] PHP Notice:  Trying to get property 'capability_type' of non-object in /www/htdocs/w01174e1/wp-dev/wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/ppro/custom-post/class-customize-capabilities-pro.php on line 104

    These lines seem to be repeated for every page load. Perhaps this has something to do with the warning issue?

    August 6, 2019 at 2:36 pm in reply to: "Important: This user has super admin privileges" warning #87769
    Gerald Menzel
    Spectator

    Hi Syam,

    I have deactivated all plugins one-by-one. The only deactivation that eliminated the warning was ‘WPFront User Role Editor Personal Pro’.

    Please let me know how to proceed.

    August 2, 2019 at 5:06 pm in reply to: "Important: This user has super admin privileges" warning #87687
    Gerald Menzel
    Spectator

    Hi Syam,

    Yes, and I actually already did that. That’s how I knew that WordPress itself generates the message (\wp-admin\user-edit.php, line 191).

    WP checks is_super_admin( $profileuser->ID ) && current_user_can( ‘manage_network_options’ ). Both function should return false for any non-admin user, but both seem to return true somehow when your plugin is active. I’m not a PHP programmer, so I don’t know how to debug this.

    August 1, 2019 at 10:34 pm in reply to: "Important: This user has super admin privileges" warning #87645
    Gerald Menzel
    Spectator

    Hi Syam. Unfortunately, deactivating WooCommerce did not eliminate the warning.

    July 31, 2019 at 10:50 pm in reply to: "Important: This user has super admin privileges" warning #87592
    Gerald Menzel
    Spectator

    Hi Syam, I deactivated all three. Message is still there.

    July 30, 2019 at 10:15 pm in reply to: "Important: This user has super admin privileges" warning #87556
    Gerald Menzel
    Spectator
    This reply has been marked as private.
    July 29, 2019 at 3:13 pm in reply to: "Important: This user has super admin privileges" warning #87509
    Gerald Menzel
    Spectator

    Thanks for getting back to me, Syam!

    The message is generated by WordPress, of course. But if it doesn’t appear with your plugin deactivated and then starts to appear as soon as I activate your plugin, wouldn’t this suggest that the plugin has at least something to do with it?

    I don’t have any other plugins that touch users/roles installed. Could you help me narrow down the kind of plugin that might cause such a conflict with your plugin?

    Thanks!

  • Author
    Posts
Viewing 8 posts - 16 through 23 (of 23 total)
← 1 2
Log In
Lost Password

Search Topics

Documentation

FAQ
Roles List Add Role Edit Role Delete Role Restore Role Add or Remove Capability Assign/Migrate Users Posts/Pages Extended Permissions Custom Post Type Permissions Navigation Menu Permissions Widget Permissions Admin Menu Editor Media/Attachment File Permissions User Level Permissions Content Restriction Shortcodes Login Redirect Export Roles Import Roles Bulk Edit Settings Multisite Roles List Multisite Add New Role Multisite Edit Role Multisite Delete Role Multisite Restore Role Multisite Sync Roles Multisite Settings WordPress Capabilities Actions and Filters Installation Instructions