Forum Replies Created
-
AuthorPosts
-
August 16, 2019 at 4:43 pm in reply to: "Important: This user has super admin privileges" warning #88177Gerald MenzelSpectatorThis reply has been marked as private.August 6, 2019 at 5:20 pm in reply to: "Important: This user has super admin privileges" warning #87771Gerald MenzelSpectator
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 #87769Gerald MenzelSpectatorHi 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 #87687Gerald MenzelSpectatorHi 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 #87645Gerald MenzelSpectatorHi 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 #87592Gerald MenzelSpectatorHi 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 #87556Gerald MenzelSpectatorThis reply has been marked as private.July 29, 2019 at 3:13 pm in reply to: "Important: This user has super admin privileges" warning #87509Gerald MenzelSpectatorThanks 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!
-
AuthorPosts