Forum Replies Created

Viewing 15 replies - 1 through 15 (of 101 total)
  • Thread Starter klishb

    (@klishb)

    I had looked at that previously and made sure the administrator role had all capabilities assigned. My admin account had another role assigned and I just tried removing that role to make sure it wasn’t causing a conflict. Interestingly, I discovered that if I remove the additional “member” role it works as expected and I can now see the cog. I then tried reassigning the additional “member” role and I can still see the cog! Very strange.

    I also just confirmed the “member” role does not have any capabilities being denied so I’m not sure how these results make sense. Somehow toggling the membership roles for my account has fixed it even though I should be back in the same state I was when it wasn’t working. Not sure if that makes any sense to you…

    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.

    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 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.

    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.

    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.

    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>

    Thread Starter klishb

    (@klishb)

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

    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.

    @bungeshea I can confirm this is still a multisite problem for me when creating a new blank snippet on Code Snippets Version 3.6.2. It also occurs for the one and only snippet I have to enqueue style sheets on the multisite. It does not appear to be a problem on other sites I have where multisite is not in place.

    Thread Starter klishb

    (@klishb)

    I guess when the shortcode is evaluated by WordPress it’s changing the page content even though a user didn’t change the post content. Maybe that type of change will also trigger a purge? I’m not sure how it detects that change to call a purge action hook. Either way, something weird changed the behavior.

    Thread Starter klishb

    (@klishb)

    Thanks for that information Pavel. I was aware of everything you mentioned though. The interesting thing is the pages on this particular site are very dynamic. No one is directly changing the post/page content therefore I’m not sure how the plugin would ever know to do a purge. The page content is completely driven by shortcodes that look at current date/time for a given dining menu.

    For example, the page that displays the Grill menu always has this page content:

    [eweekly_menu station=”grill” meal=”current” message=”Closed at this time”]

    It never changes. Behind the scenes their is a menu management plugin at play that determines actual page content. For that reason I wasn’t sure caching would ever work as expected so I had it mostly off until I could do more testing. Magically the behavior changed as if I enabled caching, but I didn’t.

    Thread Starter klishb

    (@klishb)

    After opening a ticket with support we were not able to determine why these pages started caching. I can’t find any change made on the site configuration and the last changes to caching behavior in SG-Optimiser were from July. Prior to me updating the plugin it was already past that – it was on version 7.4.2 released last month.

    I’m not sure why it’s necessary, but I’m now having to exclude these pages from caching. Prior to this I didn’t even have the Dynamic Cache or SuperCacher settings enabled. I had to enable SuperCacher just so I could exclude pages.

    • This reply was modified 1 year, 4 months ago by klishb. Reason: clarifying post
    Thread Starter klishb

    (@klishb)

    I only have memcache enabled in the multisite settings. I do not see the setting you are referring to when setting only the global settings in multisite. I see that setting on other sites that aren’t multisite, but not with multisite. Maybe I would have to enable the options for “SITE ADMIN PERMISSIONS” so I could see that setting at the subsite level? Not sure. I’ll open a ticket in the User Area. Thank you.

    I’m seeing the same thing.

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