Forum Replies Created
-
AuthorPosts
-
June 8, 2020 at 4:06 pm in reply to: "Important: This user has super admin privileges" warning #99987
Gerald Menzel
SpectatorThis reply has been marked as private.June 8, 2020 at 4:03 pm in reply to: "Important: This user has super admin privileges" warning #99986Gerald Menzel
SpectatorHi Syam,
Looks good. Only have it deployed on the dev server right now, but so far didn’t get any new notices. I will push it to the live site with the next maintenance. I’ll keep you posted.
June 1, 2020 at 3:21 pm in reply to: "Important: This user has super admin privileges" warning #99751Gerald Menzel
SpectatorThis reply has been marked as private.May 30, 2020 at 3:19 pm in reply to: "Important: This user has super admin privileges" warning #99707Gerald Menzel
SpectatorPerhaps I’m reading the code wrong, but shouldn’t line 75 in
class-customize-capabilities-pro.phpbe
self::$_instance->register($post_obj);
instead of
self::$_instance->register($post_type_obj);?
This seems to be connected to the notice problem.May 30, 2020 at 1:35 pm in reply to: "Important: This user has super admin privileges" warning #99706Gerald Menzel
SpectatorHi Syam,
Could I simply add
if (!is_object($post_type_object)) return false;to the top ofis_cpt_user_visible()inclass-customize-capabilities.php, or would this cause side-effects? It seems, this would at least stem the flood for now. I did this on my dev server and all seems to work as it should.May 29, 2020 at 5:33 pm in reply to: "Important: This user has super admin privileges" warning #99666Gerald Menzel
SpectatorThanks, Syam!
I have installed the new beta. The ‘super admin privileges’ message is gone again. But there are still a lot of noticed being generated. The log file grows maybe 10 MB per minute. I usually turn off the logging of notices. But on the dev server I leave it on for debugging purposes.
It’s always the same type of notice, e.g.
Notice: Trying to get property '_builtin' of non-object in /wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/custom-post/class-customize-capabilities.php on line 105 Timestamp: 2020-05-29 11:56:56 UTC Stack Trace ----------- 1. WPFront\URE\Custom_Post\WPFront_User_Role_Editor_Custom_Post_Customize_Caps->is_cpt_user_visible(null) /wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/ppro/custom-post/class-customize-capabilities-pro.php:105 2. WPFront\URE\PPRO\Custom_Post\WPFront_User_Role_Editor_Custom_Post_Customize_Caps_Pro->register(null) /wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/ppro/custom-post/class-customize-capabilities-pro.php:75 3. WPFront\URE\PPRO\Custom_Post\WPFront_User_Role_Editor_Custom_Post_Customize_Caps_Pro::instance(WPFront\URE\Custom_Post\WPFront_User_Role_Editor_Custom_Post_Customize_Caps) /wp-includes/class-wp-hook.php:287 4. WP_Hook->apply_filters(WPFront\URE\Custom_Post\WPFront_User_Role_Editor_Custom_Post_Customize_Caps, Array(1)) /wp-includes/plugin.php:206 5. apply_filters('wpfront_ure_internal_c...', WPFront\URE\Custom_Post\WPFront_User_Role_Editor_Custom_Post_Customize_Caps) /wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/custom-post/class-customize-capabilities.php:60 6. WPFront\URE\Custom_Post\WPFront_User_Role_Editor_Custom_Post_Customize_Caps::instance() /wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/custom-post/class-customize-capabilities.php:70 7. WPFront\URE\Custom_Post\WPFront_User_Role_Editor_Custom_Post_Customize_Caps::init('') /wp-includes/class-wp-hook.php:287 8. WP_Hook->apply_filters(null, Array(1)) /wp-includes/class-wp-hook.php:311 9. WP_Hook->do_action(Array(1)) /wp-includes/plugin.php:478 10. do_action('wpfront_ure_init') /wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/go-pro/class-go-pro.php:88 11. WPFront\URE\Go_Pro\WPFront_User_Role_Editor_Go_Pro->initialize() /wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/ppro/go-pro/class-go-pro.php:96 12. WPFront\URE\PPRO\Go_Pro\WPFront_User_Role_Editor_Go_Pro->initialize() /wp-content/plugins/wpfront-user-role-editor-personal-pro/includes/go-pro/class-go-pro.php:81 13. WPFront\URE\Go_Pro\WPFront_User_Role_Editor_Go_Pro::init('') /wp-includes/class-wp-hook.php:287 14. WP_Hook->apply_filters(null, Array(1)) /wp-includes/class-wp-hook.php:311 15. WP_Hook->do_action(Array(1)) /wp-includes/plugin.php:478 16. do_action('plugins_loaded') /wp-settings.php:403 17. require_once('/www/htdocs/w01174e1/w...') /wp-config.php:112 18. require_once('/www/htdocs/w01174e1/w...') /wp-load.php:37 19. require_once('/www/htdocs/w01174e1/w...') /wp-blog-header.php:13 20. require('/www/htdocs/w01174e1/w...') /index.php:17May 20, 2020 at 3:27 pm in reply to: "Important: This user has super admin privileges" warning #99353Gerald Menzel
SpectatorThis reply has been marked as private.May 15, 2020 at 4:41 pm in reply to: "Important: This user has super admin privileges" warning #99227Gerald Menzel
SpectatorAny news, Syam?
May 7, 2020 at 1:23 pm in reply to: "Important: This user has super admin privileges" warning #98941Gerald Menzel
SpectatorAlright. Then I can let you know whether the notice issue is resolved or not.
May 6, 2020 at 1:47 pm in reply to: "Important: This user has super admin privileges" warning #98903Gerald Menzel
SpectatorNo worries, Syam. Could you give me a rough ETA for the update?
May 2, 2020 at 1:19 pm in reply to: "Important: This user has super admin privileges" warning #98759Gerald Menzel
SpectatorHi Syam,
thanks for getting back to me.
I’m still working on the site. But it’s mainly cosmetics. No new post types or similarly deep changes. I’m not really sure when this notices started being generated. Perhaps with one of the last Wordpres updates. It’s the same types of notice as a couple of months ago.
April 29, 2020 at 10:24 pm in reply to: "Important: This user has super admin privileges" warning #98641Gerald Menzel
SpectatorHi Syam, hope you’re doing well.
The PHP log issue suddenly appeared again. The following notices are being generated with every page-load:
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 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 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 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 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 72What did you do last time to remedy the issue?
August 21, 2019 at 9:45 pm in reply to: "Important: This user has super admin privileges" warning #88359Gerald Menzel
SpectatorSure, not a problem. The issue seems to be purely cosmetic anyway. If it even is your plugin that is causing this…
Anyway, keep me posted.
August 21, 2019 at 1:30 pm in reply to: "Important: This user has super admin privileges" warning #88339Gerald Menzel
SpectatorThis reply has been marked as private.August 19, 2019 at 9:41 pm in reply to: "Important: This user has super admin privileges" warning #88242Gerald Menzel
SpectatorThis reply has been marked as private. -
AuthorPosts
