• I’m trying to implement admin approval for new members that register. Per documentation: “Administrators can approve the reviewed user using the “Approve Membership” action in the users profile (under the cog icon) or the “Approve Membership” bulk action above the Users table in WordPress dashboard.”

    I see the bulk action method, but I do not see the cog on the user profile after clicking the link in the admin email to review the member. I tried disabling all other plugins to rule out a plugin conflict, but it’s still missing with all other plugins disabled. I am logged in with administrator role and I confirmed all capabilities are enabled for the administrator role.

Viewing 15 replies - 1 through 15 (of 16 total)
  • @klishb

    Look at your Browser web Console if you have any JavaScript errors.
    Right button click on your mouse, select Inspect then Console in the Menu.

    Thread Starter klishb

    (@klishb)

    I’m not seeing any JavaScript errors in the console. I do where Chrome is reporting an accessibility issue on the “Issues” tab though. It states there is “Incorrect use of <label for=FORM_ELEMENT>” 7 times on the profile page. Pretty sure that is completely unrelated though.

    Thread Starter klishb

    (@klishb)

    I also just disabled all my browser extensions, but that made no difference either.

    @klishb

    <label for=FORM_ELEMENT>” 7 times on the profile page

    There are 7 selections in a dropdown for Admin when clicking on the Cog wheel.

    Thread Starter klishb

    (@klishb)

    That seems to be a coincidence then. Further investigation shows that these warnings are coming from these 7 html nodes on the profile page:

    <label for=”first_name-1162″>First Name</label>
    <label for=”last_name-1162″>Last Name</label>
    <label for=”Title-1162″>Job Title</label>
    <label for=”phone_number-1162″>Phone Number</label>
    <label for=”Work-Group-1162″>Work Group</label>
    <label for=”username-1162″>Username or E-mail</label>
    <label for=”um_request_1162″>Only fill in if you are not human</label>

    @klishb

    Enable PHP error logging if the debug will give some more info about this issue.

    Read this guide: “How to enable debug logging”

    https://docs.ultimatemember.com/article/1751-enable-debug-logging

    You will probably get a PHP log file with notices and errors in this file:
    .../wp-content/debug.log

    Post the content of this file here in the Forum and we can give you the PHP error explanation. For best formatting use the Forum’s CODE format.

    Thread Starter klishb

    (@klishb)

    I enabled debug.log and I see some things get written for other pages like Site Health in WP-Admin. I’m not getting any debug.log entries when I refresh the user profile page where I’m expecting a cog. Here are the entries from loading the Site Health:

    [20-Nov-2023 14:14:26 UTC] PHP Warning:  implode(): Invalid arguments passed in C:\wamp64\www\sasa.local\wp-content\plugins\ultimate-member\includes\admin\class-site-health.php on line 911
    [20-Nov-2023 14:14:26 UTC] PHP Stack trace:
    [20-Nov-2023 14:14:26 UTC] PHP   1. {main}() C:\wamp64\www\sasa.local\wp-admin\site-health.php:0
    [20-Nov-2023 14:14:26 UTC] PHP   2. do_action($hook_name = 'site_health_tab_content', ...$arg = variadic('debug')) C:\wamp64\www\sasa.local\wp-admin\site-health.php:220
    [20-Nov-2023 14:14:26 UTC] PHP   3. WP_Hook->do_action($args = [0 => 'debug']) C:\wamp64\www\sasa.local\wp-includes\plugin.php:517
    [20-Nov-2023 14:14:26 UTC] PHP   4. WP_Hook->apply_filters($value = '', $args = [0 => 'debug']) C:\wamp64\www\sasa.local\wp-includes\class-wp-hook.php:348
    [20-Nov-2023 14:14:26 UTC] PHP   5. WP_Site_Health->show_site_health_tab($tab = 'debug') C:\wamp64\www\sasa.local\wp-includes\class-wp-hook.php:324
    [20-Nov-2023 14:14:26 UTC] PHP   6. require_once() C:\wamp64\www\sasa.local\wp-admin\includes\class-wp-site-health.php:68
    [20-Nov-2023 14:14:26 UTC] PHP   7. WP_Debug_Data::debug_data() C:\wamp64\www\sasa.local\wp-admin\site-health-info.php:36
    [20-Nov-2023 14:14:26 UTC] PHP   8. apply_filters($hook_name = 'debug_information', $value = ['wp-core' => ['label' => 'WordPress', 'fields' => [...]], 'wp-paths-sizes' => ['label' => 'Directories and Sizes', 'fields' => [...]], 'wp-dropins' => ['label' => 'Drop-ins', 'show_count' => TRUE, 'description' => 'Drop-ins are single files, found in the <code>wp-content</code> directory, that replace or enhance WordPress features in ways that are not possible for traditional plugins.', 'fields' => [...]], 'wp-active-theme' => ['label' => 'Active Theme', 'fields' => [...]], 'wp-parent-theme' => ['label' => 'Parent Theme', 'fields' => [...]], 'wp-themes-inactive' => ['label' => 'Inactive Themes', 'show_count' => TRUE, 'fields' => [...]], 'wp-mu-plugins' => ['label' => 'Must Use Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-active' => ['label' => 'Active Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-inactive' => ['label' => 'Inactive Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-media' => ['label' => 'Media Handling', 'fields' => [...]], 'wp-server' => ['label' => 'Server', 'description' => 'The options shown below relate to your server setup. If changes are required, you may need your web host’s assistance.', 'fields' => [...]], 'wp-database' => ['label' => 'Database', 'fields' => [...]], 'wp-constants' => ['label' => 'WordPress Constants', 'description' => 'These settings alter where and how parts of WordPress are loaded.', 'fields' => [...]], 'wp-filesystem' => ['label' => 'Filesystem Permissions', 'description' => 'Shows whether WordPress is able to write to the directories it needs access to.', 'fields' => [...]]]) C:\wamp64\www\sasa.local\wp-admin\includes\class-wp-debug-data.php:1463
    [20-Nov-2023 14:14:26 UTC] PHP   9. WP_Hook->apply_filters($value = ['wp-core' => ['label' => 'WordPress', 'fields' => [...]], 'wp-paths-sizes' => ['label' => 'Directories and Sizes', 'fields' => [...]], 'wp-dropins' => ['label' => 'Drop-ins', 'show_count' => TRUE, 'description' => 'Drop-ins are single files, found in the <code>wp-content</code> directory, that replace or enhance WordPress features in ways that are not possible for traditional plugins.', 'fields' => [...]], 'wp-active-theme' => ['label' => 'Active Theme', 'fields' => [...]], 'wp-parent-theme' => ['label' => 'Parent Theme', 'fields' => [...]], 'wp-themes-inactive' => ['label' => 'Inactive Themes', 'show_count' => TRUE, 'fields' => [...]], 'wp-mu-plugins' => ['label' => 'Must Use Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-active' => ['label' => 'Active Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-inactive' => ['label' => 'Inactive Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-media' => ['label' => 'Media Handling', 'fields' => [...]], 'wp-server' => ['label' => 'Server', 'description' => 'The options shown below relate to your server setup. If changes are required, you may need your web host’s assistance.', 'fields' => [...]], 'wp-database' => ['label' => 'Database', 'fields' => [...]], 'wp-constants' => ['label' => 'WordPress Constants', 'description' => 'These settings alter where and how parts of WordPress are loaded.', 'fields' => [...]], 'wp-filesystem' => ['label' => 'Filesystem Permissions', 'description' => 'Shows whether WordPress is able to write to the directories it needs access to.', 'fields' => [...]]], $args = [0 => ['wp-core' => [...], 'wp-paths-sizes' => [...], 'wp-dropins' => [...], 'wp-active-theme' => [...], 'wp-parent-theme' => [...], 'wp-themes-inactive' => [...], 'wp-mu-plugins' => [...], 'wp-plugins-active' => [...], 'wp-plugins-inactive' => [...], 'wp-media' => [...], 'wp-server' => [...], 'wp-database' => [...], 'wp-constants' => [...], 'wp-filesystem' => [...]]]) C:\wamp64\www\sasa.local\wp-includes\plugin.php:205
    [20-Nov-2023 14:14:26 UTC] PHP  10. um\admin\Site_Health->debug_information($info = ['wp-core' => ['label' => 'WordPress', 'fields' => [...]], 'wp-paths-sizes' => ['label' => 'Directories and Sizes', 'fields' => [...]], 'wp-dropins' => ['label' => 'Drop-ins', 'show_count' => TRUE, 'description' => 'Drop-ins are single files, found in the <code>wp-content</code> directory, that replace or enhance WordPress features in ways that are not possible for traditional plugins.', 'fields' => [...]], 'wp-active-theme' => ['label' => 'Active Theme', 'fields' => [...]], 'wp-parent-theme' => ['label' => 'Parent Theme', 'fields' => [...]], 'wp-themes-inactive' => ['label' => 'Inactive Themes', 'show_count' => TRUE, 'fields' => [...]], 'wp-mu-plugins' => ['label' => 'Must Use Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-active' => ['label' => 'Active Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-inactive' => ['label' => 'Inactive Plugins', 'show_count' => TRUE, 'fields' => [...]], 'code-snippets' => ['label' => 'Active Snippets', 'show_count' => TRUE, 'fields' => [...]], 'wp-media' => ['label' => 'Media Handling', 'fields' => [...]], 'wp-server' => ['label' => 'Server', 'description' => 'The options shown below relate to your server setup. If changes are required, you may need your web host’s assistance.', 'fields' => [...]], 'wp-database' => ['label' => 'Database', 'fields' => [...]], 'wp-constants' => ['label' => 'WordPress Constants', 'description' => 'These settings alter where and how parts of WordPress are loaded.', 'fields' => [...]], 'wp-filesystem' => ['label' => 'Filesystem Permissions', 'description' => 'Shows whether WordPress is able to write to the directories it needs access to.', 'fields' => [...]], 'aioseo' => ['label' => 'SEO', 'description' => 'The fields below contain important SEO information from AIOSEO that may effect your site.', 'private' => FALSE, 'show_count' => TRUE, 'fields' => [...]]]) C:\wamp64\www\sasa.local\wp-includes\class-wp-hook.php:324
    [20-Nov-2023 14:14:26 UTC] PHP  11. implode($glue = ', ', $pieces = '') C:\wamp64\www\sasa.local\wp-content\plugins\ultimate-member\includes\admin\class-site-health.php:911
    [20-Nov-2023 14:14:26 UTC] PHP Notice:  Undefined offset: 1 in C:\wamp64\www\sasa.local\wp-content\plugins\ultimate-member\includes\admin\class-site-health.php on line 2082
    [20-Nov-2023 14:14:26 UTC] PHP Stack trace:
    [20-Nov-2023 14:14:26 UTC] PHP   1. {main}() C:\wamp64\www\sasa.local\wp-admin\site-health.php:0
    [20-Nov-2023 14:14:26 UTC] PHP   2. do_action($hook_name = 'site_health_tab_content', ...$arg = variadic('debug')) C:\wamp64\www\sasa.local\wp-admin\site-health.php:220
    [20-Nov-2023 14:14:26 UTC] PHP   3. WP_Hook->do_action($args = [0 => 'debug']) C:\wamp64\www\sasa.local\wp-includes\plugin.php:517
    [20-Nov-2023 14:14:26 UTC] PHP   4. WP_Hook->apply_filters($value = '', $args = [0 => 'debug']) C:\wamp64\www\sasa.local\wp-includes\class-wp-hook.php:348
    [20-Nov-2023 14:14:26 UTC] PHP   5. WP_Site_Health->show_site_health_tab($tab = 'debug') C:\wamp64\www\sasa.local\wp-includes\class-wp-hook.php:324
    [20-Nov-2023 14:14:26 UTC] PHP   6. require_once() C:\wamp64\www\sasa.local\wp-admin\includes\class-wp-site-health.php:68
    [20-Nov-2023 14:14:26 UTC] PHP   7. WP_Debug_Data::debug_data() C:\wamp64\www\sasa.local\wp-admin\site-health-info.php:36
    [20-Nov-2023 14:14:26 UTC] PHP   8. apply_filters($hook_name = 'debug_information', $value = ['wp-core' => ['label' => 'WordPress', 'fields' => [...]], 'wp-paths-sizes' => ['label' => 'Directories and Sizes', 'fields' => [...]], 'wp-dropins' => ['label' => 'Drop-ins', 'show_count' => TRUE, 'description' => 'Drop-ins are single files, found in the <code>wp-content</code> directory, that replace or enhance WordPress features in ways that are not possible for traditional plugins.', 'fields' => [...]], 'wp-active-theme' => ['label' => 'Active Theme', 'fields' => [...]], 'wp-parent-theme' => ['label' => 'Parent Theme', 'fields' => [...]], 'wp-themes-inactive' => ['label' => 'Inactive Themes', 'show_count' => TRUE, 'fields' => [...]], 'wp-mu-plugins' => ['label' => 'Must Use Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-active' => ['label' => 'Active Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-inactive' => ['label' => 'Inactive Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-media' => ['label' => 'Media Handling', 'fields' => [...]], 'wp-server' => ['label' => 'Server', 'description' => 'The options shown below relate to your server setup. If changes are required, you may need your web host’s assistance.', 'fields' => [...]], 'wp-database' => ['label' => 'Database', 'fields' => [...]], 'wp-constants' => ['label' => 'WordPress Constants', 'description' => 'These settings alter where and how parts of WordPress are loaded.', 'fields' => [...]], 'wp-filesystem' => ['label' => 'Filesystem Permissions', 'description' => 'Shows whether WordPress is able to write to the directories it needs access to.', 'fields' => [...]]]) C:\wamp64\www\sasa.local\wp-admin\includes\class-wp-debug-data.php:1463
    [20-Nov-2023 14:14:26 UTC] PHP   9. WP_Hook->apply_filters($value = ['wp-core' => ['label' => 'WordPress', 'fields' => [...]], 'wp-paths-sizes' => ['label' => 'Directories and Sizes', 'fields' => [...]], 'wp-dropins' => ['label' => 'Drop-ins', 'show_count' => TRUE, 'description' => 'Drop-ins are single files, found in the <code>wp-content</code> directory, that replace or enhance WordPress features in ways that are not possible for traditional plugins.', 'fields' => [...]], 'wp-active-theme' => ['label' => 'Active Theme', 'fields' => [...]], 'wp-parent-theme' => ['label' => 'Parent Theme', 'fields' => [...]], 'wp-themes-inactive' => ['label' => 'Inactive Themes', 'show_count' => TRUE, 'fields' => [...]], 'wp-mu-plugins' => ['label' => 'Must Use Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-active' => ['label' => 'Active Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-inactive' => ['label' => 'Inactive Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-media' => ['label' => 'Media Handling', 'fields' => [...]], 'wp-server' => ['label' => 'Server', 'description' => 'The options shown below relate to your server setup. If changes are required, you may need your web host’s assistance.', 'fields' => [...]], 'wp-database' => ['label' => 'Database', 'fields' => [...]], 'wp-constants' => ['label' => 'WordPress Constants', 'description' => 'These settings alter where and how parts of WordPress are loaded.', 'fields' => [...]], 'wp-filesystem' => ['label' => 'Filesystem Permissions', 'description' => 'Shows whether WordPress is able to write to the directories it needs access to.', 'fields' => [...]]], $args = [0 => ['wp-core' => [...], 'wp-paths-sizes' => [...], 'wp-dropins' => [...], 'wp-active-theme' => [...], 'wp-parent-theme' => [...], 'wp-themes-inactive' => [...], 'wp-mu-plugins' => [...], 'wp-plugins-active' => [...], 'wp-plugins-inactive' => [...], 'wp-media' => [...], 'wp-server' => [...], 'wp-database' => [...], 'wp-constants' => [...], 'wp-filesystem' => [...]]]) C:\wamp64\www\sasa.local\wp-includes\plugin.php:205
    [20-Nov-2023 14:14:26 UTC] PHP  10. um\admin\Site_Health->debug_information($info = ['wp-core' => ['label' => 'WordPress', 'fields' => [...]], 'wp-paths-sizes' => ['label' => 'Directories and Sizes', 'fields' => [...]], 'wp-dropins' => ['label' => 'Drop-ins', 'show_count' => TRUE, 'description' => 'Drop-ins are single files, found in the <code>wp-content</code> directory, that replace or enhance WordPress features in ways that are not possible for traditional plugins.', 'fields' => [...]], 'wp-active-theme' => ['label' => 'Active Theme', 'fields' => [...]], 'wp-parent-theme' => ['label' => 'Parent Theme', 'fields' => [...]], 'wp-themes-inactive' => ['label' => 'Inactive Themes', 'show_count' => TRUE, 'fields' => [...]], 'wp-mu-plugins' => ['label' => 'Must Use Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-active' => ['label' => 'Active Plugins', 'show_count' => TRUE, 'fields' => [...]], 'wp-plugins-inactive' => ['label' => 'Inactive Plugins', 'show_count' => TRUE, 'fields' => [...]], 'code-snippets' => ['label' => 'Active Snippets', 'show_count' => TRUE, 'fields' => [...]], 'wp-media' => ['label' => 'Media Handling', 'fields' => [...]], 'wp-server' => ['label' => 'Server', 'description' => 'The options shown below relate to your server setup. If changes are required, you may need your web host’s assistance.', 'fields' => [...]], 'wp-database' => ['label' => 'Database', 'fields' => [...]], 'wp-constants' => ['label' => 'WordPress Constants', 'description' => 'These settings alter where and how parts of WordPress are loaded.', 'fields' => [...]], 'wp-filesystem' => ['label' => 'Filesystem Permissions', 'description' => 'Shows whether WordPress is able to write to the directories it needs access to.', 'fields' => [...]], 'aioseo' => ['label' => 'SEO', 'description' => 'The fields below contain important SEO information from AIOSEO that may effect your site.', 'private' => FALSE, 'show_count' => TRUE, 'fields' => [...]]]) C:\wamp64\www\sasa.local\wp-includes\class-wp-hook.php:324
    

    I’m wondering if this is just a local development issue with me running WAMP server.

    @klishb

    loading the Site Health

    This UM Bug will be fixed in the next version of UM.

    https://github.com/ultimatemember/ultimatemember/pull/1327/commits/2e9e63e6d88e1eaab122ce88735c81a2d049511a

    Thread Starter klishb

    (@klishb)

    Any further thoughts on how I could troubleshoot the missing cog on the user profile page? I was thinking about installing a plugin to show hooks to see if it’s getting called on that page as expected. Not sure what else to do.

    @klishb

    Did you change the Theme to a basic WP theme like “Twenty Twenty-One”
    when you did the conflict test?

    Thread Starter klishb

    (@klishb)

    I just disabled all plugins except for UM and set the theme to Twenty Twenty-One Version: 2.0.

    Unfortunately, I’m still not seeing the user profile cog.

    @klishb

    Do you have a web hosting account where you can upload and test your local “wamp64” installation?

    Thread Starter klishb

    (@klishb)

    yes. I’ll see if I can try migrating to a test site tomorrow on my production web host.

    Thread Starter klishb

    (@klishb)

    I migrated the site to my web host this morning. I’m getting the same results with all other plugins disabled and using the Twenty Twenty-One Version: 2.0 theme.

    @klishb

    Look at your Administrative Permissions for the Administrator User Role.

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Cog missing from user profile when approving’ is closed to new replies.