• Resolved Devi

    (@dev_vahid)


    when i visit plugin settings page i get this error

    
    Uncaught Error: Call to a member function template() on boolean in /public/wp-content/plugins/members/admin/class-settings.php on line 327
        settings_page()
        wp-includes/class-wp-hook.php:287
        apply_filters()
        wp-includes/class-wp-hook.php:311
        do_action()
        wp-includes/plugin.php:478
        do_action()
        wp-admin/admin.php:254
    

    also can’t list my previous roles, and WordPress default roles like editor and etc ….

    I’ve provided link to image for more info
    rules list page

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Caseproof LLC

    (@caseproof)

    Hi @dev_vahid,

    What version of Members are you running? If it’s less than 3.0.4, can you please update? This error should have been fixed in an earlier release. If that doesn’t work, let us know, and we’ll look into it.

    Hi.

    I’ve got the same error.
    On a fresh install of WP, plugin version 3.0.5:
    Fatal error: Uncaught Error: Call to a member function template() on boolean in /var/www/wordpress_portal/wp-content/plugins/members/admin/class-settings.php:327 Stack trace: #0 /var/www/wordpress_portal/wp-includes/class-wp-hook.php(287): Members\Admin\Settings_Page->settings_page('') #1 /var/www/wordpress_portal/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /var/www/wordpress_portal/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /var/www/wordpress_portal/wp-admin/admin.php(254): do_action('membros_page_me...') #4 {main} thrown in /var/www/wordpress_portal/wp-content/plugins/members/admin/class-settings.php on line 327

    Wordpress is in pt_BR and I think that this error only occur on non-english installs.

    Plugin Author Caseproof LLC

    (@caseproof)

    We just released version 3.0.6 to fix an issue with the settings page throwing an error on non-English websites. Please update to the latest version, and let us know if you need anything else.

    Thank you! 🙂
    The settings page is working now.

    On the other hand the roles list is just empty, not displaying/throwing any errors.

    https://imgur.com/27V0jXu

    Getting the same problem as @ricardomoro….

    Setting Page working, but listing roles is empty.

    exactly like the screenshot of @ricardomoro

    My WordPress is PT_BR too

    Tks a lot for the Support

    Hello.

    With version 3.0.7 the roles list is working again, all roles showing. Unfortunately, the settings page is throwing the old “Fatal Error”:
    Fatal error: Uncaught Error: Call to a member function template() on boolean in /var/www/wordpress_portal/wp-content/plugins/members/admin/class-settings.php:327 Stack trace: #0 /var/www/wordpress_portal/wp-includes/class-wp-hook.php(287): Members\Admin\Settings_Page->settings_page('') #1 /var/www/wordpress_portal/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /var/www/wordpress_portal/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /var/www/wordpress_portal/wp-admin/admin.php(254): do_action('members_page_me...') #4 {main} thrown in /var/www/wordpress_portal/wp-content/plugins/members/admin/class-settings.php on line 327

    Thank you for your support. 😀

    Plugin Author Caseproof LLC

    (@caseproof)

    Try 3.0.8. We had to fix a few bugs related to translations. 😀

    It’s all working as expected now. 😀

    Thank you very much for your help! 😉

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘php error in settings page / also cant list previous rules’ is closed to new replies.