• Resolved Jakob Smith

    (@diakrisis)


    I just updated from 2.2.0 to 3.0.1 and now I can’t find the settings menu entry?

    Shouldn’t it be in Settings -> Members?

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi Jakob,

    The settings were moved in version 3 to a new menu item in the admin. They’re no longer under the Settings menu item. Instead, they’re under Members –> Settings.

    Let us know if you need anything else!

    -RV

    Thread Starter Jakob Smith

    (@diakrisis)

    OK, but I don’t have this menu item anywhere after upgrading. Have checked and doublechecked.

    Plugin Author Caseproof

    (@caseproof)

    Hi Jakob,

    Here’s a screenshot of approximately where the Members menu item should appear. https://share.getcloudapp.com/5zu1Z6Pd

    If you still don’t see it, can you try removing and re-installing the plugin?

    -RV

    Thread Starter Jakob Smith

    (@diakrisis)

    First I tried rolling back to 2.2.0 via WP-rollback and then upgrading again. Nothing changed.

    Then I downloaded the ZIP-file, deleted Members and reinstalled it via the ZIP-file. Nothing changed.

    I have another site where the new version works fine.

    If, on the site with the problem, I go to the URL, where the settings should be, wp-admin/admin.php?page=roles, I get this message:

    “Sorry, you are not allowed to access this page.”

    I’m logged in with an administrator-user, that has never had a problem accessing the Members settings.

    The plugin does still do, what I want it to, namely redirecting all non-logged-in users to the login form.

    Plugin Author Caseproof

    (@caseproof)

    Hi Jakob,

    To troubleshoot this, can I have you create a new administrator account on your website, and then log in using that account? That will help me figure out if this issue is specific to your user account, or if it’s more general.

    Thanks,

    -RV

    Thread Starter Jakob Smith

    (@diakrisis)

    Sure, I just did that, and the problem is exactly the same for the new administrator account.

    Plugin Author Caseproof

    (@caseproof)

    If you go to wp-admin/admin.php?page=members-settings, what do you see?

    I can’t find the menu entry either.

    When I go to:mysite.com/admin.php?page=members-settings I get a 404 error.

    I deleted the plugin, reinstalled through the “add new marketplace” then I deleted it and uploaded the Zip from the download.

    Still nothing. The roles I had still show up, but I can’t edit them. I can change roles in the edit user screen, but have no menu entry.

    It doesn’t show up in “Settings” and it doesn’t show up as its own item.

    I have Adminize and tried to see if it was in there but didn’t see it.

    Thread Starter Jakob Smith

    (@diakrisis)

    If I go to wp-admin/admin.php?page=members-settings I get this message:

    “There has been a critical error on your website. Please check your site admin email inbox for instructions.”

    after this, I check debug.log and find this:

    [10-Apr-2020 15:08:09 UTC] PHP Fatal error:  Uncaught Error: Call to a member function template() on bool in <removed by me>/wp-content/plugins/members/admin/class-settings.php:325
    Stack trace:
    #0 <removed by me>/wp-includes/class-wp-hook.php(287): Members\Admin\Settings_Page->settings_page('')
    #1 <removed by me>/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #2 <removed by me>/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 <removed by me>/wp-admin/admin.php(254): do_action('admin_page_memb...')
    #4 {main}
      thrown in <removed by me>/wp-content/plugins/members/admin/class-settings.php on line 325
    Plugin Author Caseproof

    (@caseproof)

    To test this, let me have you add the following code snippet to your theme’s functions.php file:

    
    add_filter( 'members_role_manager_enabled', '__return_true' );
    

    Once added, check to see if the Members menu appears.

    Thread Starter Jakob Smith

    (@diakrisis)

    I added the code to my themes functions.php and reloaded wp-admin.

    Nothing changes. The menu item doesn’t appear and I get the same error when going to wp-admin/admin.php?page=members-settings

    I added the “add_filter” got this error on the page:

    Line 325
    Message Uncaught Error: Call to a member function template() on bool in /plugins/members/admin/class-settings.php:325 Stack trace: #0 /wp-includes/class-wp-hook.php(287): Members\Admin\Settings_Page->settings_page(”) #1 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /wp-admin/admin.php(254): do_action(‘admin_page_memb…’) #4 {main} thrown
    File /wp-content/plugins/members/admin/class-settings.php

    Plugin Author Caseproof

    (@caseproof)

    Okay, I believe I’ve tracked down the issue, and we hope to have an update released soon. In the meantime, if you’d like to try the fix on your end, you can follow these instructions to make a small tweak in the plugin’s code:

    1. Using an FTP client, open wp-content/plugins/members/admin/functions-settings.php.

    2. Replace line 64 with return is_object( $screen ) && ( 'members_page_members-settings' === $screen->id || 'admin_page_members-settings' === $screen->id );.

    3. Save and upload the change.

    Let me know if that helps.

    Did the update you suggested. Can’t see the menu item, but going to the link wp-admin/admin.php?page=members-settings works.

    Thank you!

    Plugin Author Caseproof

    (@caseproof)

    @steuss On your site, is the “Enable the role manager.” setting enabled? It’s the first checkbox on the Settings page.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Where did the settings menu entry go?’ is closed to new replies.