• Resolved mchapela

    (@mchapela)


    Hi,

    I’m facing two issues related to the plugin.

    I’ve renamed the login page URL in Brute Force>Rename Login Page. The problem is that if and user tried to reset their password appears this message:

    Warning: Missing argument 3 for AIOWPSecurity_General_Init_Tasks::decode_reset_pw_msg() in /usr/home/letstravelbuddy.com/web/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-general-init-tasks.php on line 482 Warning: Missing argument 4 for AIOWPSecurity_General_Init_Tasks::decode_reset_pw_msg() in /usr/home/letstravelbuddy.com/web/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-general-init-tasks.php on line 482

    Although the email is successfully sent. Then the users go to link in the email and they can change the password. But in the page for changing the passwors, that is the wordpress default page, it appears a link to Log In, but this link redirects to the wp-login.php and a 404 is displayed.

    So, how can I to hide/solve the problem with the warning, and how can I redirect users to the Log In page?

    Thank you

    https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi,
    Is your site a standard single site wordpress installation or is it multisite?

    When exactly does that warning message appear? Is it as soon as the reset page is displayed or is it after they submit the form on the reset page?

    Which version of the AIOWPS are you currently running?

    Which version of wordpress are you currently running?

    Thread Starter mchapela

    (@mchapela)

    It is a single site.

    The warning appears after the submit.

    And I have both uploades to the last versión.

    Plugin Contributor wpsolutions

    (@wpsolutions)

    I think it is highly likely that another plugin (or theme) is causing a conflict.
    Can you start with the following test:
    – deactivate all plugins except aiowps
    – do password reset test.

    Does the problem go away? If so then one of other the plugins is the cause of the conflict.

    You can also do a similar test for the theme by reverting to one of the standard wp themes, eg, twentysixteen etc

    Thread Starter mchapela

    (@mchapela)

    Hi,

    I deactivate plugin and theme and still the same. The only time it worked fine was with AIOWPS deactivated…

    Plugin Contributor wpsolutions

    (@wpsolutions)

    The “Warning: Missing argument ” warnings you are getting should not be occurring if you are using the latest version of this plugin.

    To explain how the code works regarding this part of the functionality:

    1) Basically this plugin is using the following filter during a retrieve password operation when the rename login feature is active:

    $message = apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data );

    (the above filter is found in the wp-security-rename-login-feature.php file)

    2) This filter is being used as follows in another part of the plugin (ie, inside the wp-security-general-init-tasks.php):

    add_filter( 'retrieve_password_message', array(&$this, 'decode_reset_pw_msg'), 10, 4);

    You will note that the last parameter is “4” which stands for the number of arguments which the “retrieve_password_message” is passing.

    Ordinarily when you see warning messages such as yours which state that arguments are missing, it usually means that some code is incorrectly setting the number of parameters when using the filters. But in our case this is not the case.

    This is why I think there must be something else unrelated to this plugin which is possibly calling the same filter with an incorrect argument number value.

    If you want, you can use my contact form to get in touch with me and I can look into this more closely for you.

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

The topic ‘WP-login problems’ is closed to new replies.