• Hi,

    On Access/Login to internal Site, includes internal Menu to a Special Member Group, most User shows a Critical Error.

    Any Idea?

    Debug.Log:

    [18-Apr-2023 15:13:10 UTC] PHP Fatal error:  Uncaught Error: Call to a member function has_errors() on string in /WordPress/wp-content/plugins/wp-members/includes/class-wp-members.php:1818
    Stack trace:
    #0 /WordPress/wp-content/plugins/wp-members/includes/class-wp-members-shortcodes.php(1085): WP_Members->has_errors()
    #1 /WordPress/wp-content/plugins/wp-members/includes/class-wp-members-shortcodes.php(164): WP_Members_Shortcodes->render_pwd_reset()
    #2 /WordPress/wp-includes/shortcodes.php(355): WP_Members_Shortcodes->forms()
    #3 [internal function]: do_shortcode_tag()
    #4 /WordPress/wp-includes/shortcodes.php(227): preg_replace_callback()
    #5 /WordPress/wp-includes/class-wp-hook.php(310): do_shortcode()
    #6 /WordPress/wp- in /WordPress/wp-content/plugins/wp-members/includes/class-wp-members.php on line 1818

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    What version of the plugin is installed?

    Thread Starter schuppeste

    (@schuppeste)

    Version 3.4.7.2 (The problem exists a few weeks and versions)

    PHP 7.4, tested 8.0 too

    • This reply was modified 1 year, 2 months ago by schuppeste.
    Plugin Author Chad Butler

    (@cbutlerjr)

    The stack trace you posted doesn’t line up with what is in 3.4.7, but it does with 3.4.6 (and earlier). So if the issue as noted is occurring at line 1818 of the main object class and you have 3.4.7 installed, then it would appear that you don’t have a clean installation as that function is at line 2003 in the 3.4.7 version.

    I would recommend re-installing the plugin to make sure you have a clean install.

    Thread Starter schuppeste

    (@schuppeste)

    Hi, i retry to uploaded the Plugin Folder.

    Same Problem:

    [19-Apr-2023 17:14:33 UTC] PHP Fatal error:  Uncaught Error: Call to a member function has_errors() on string in WordPress/wp-content/plugins/wp-members/includes/class-wp-members.php:2003
    Stack trace:
    #0 WordPress/wp-content/plugins/wp-members/includes/class-wp-members-shortcodes.php(1085): WP_Members->has_errors()
    #1 WordPress/wp-content/plugins/wp-members/includes/class-wp-members-shortcodes.php(164): WP_Members_Shortcodes->render_pwd_reset()
    #2 WordPress/wp-includes/shortcodes.php(355): WP_Members_Shortcodes->forms()
    #3 [internal function]: do_shortcode_tag()
    #4 WordPress/wp-includes/shortcodes.php(227): preg_replace_callback()
    #5 WordPress/wp-includes/class-wp-hook.php(310): do_shortcode()
    #6 WordPress/wp- in WordPress/wp-content/plugins/wp-members/includes/class-wp-members.php on line 2003

    Its possible to update without empty the mysql Tables?

    Many settings

    Thread Starter schuppeste

    (@schuppeste)

    I attempt to click and Try several Preference Settings, its affected only old Users, new Users can Login without any problems.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical Error’ is closed to new replies.