• pezzaaaa

    (@pezzaaaa)


    I receive this error when I try to reset a password:

    [04-Mar-2021 15:26:13 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WSAL_Sensors_LogInOut::event_user_requested_pw_reset(), 1 passed in /web/htdocs/www.xxxx.es/home/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /web/htdocs/www.xxxx.es/home/wp-content/plugins/wp-security-audit-log/classes/Sensors/LogInOut.php:540

    Somone can help me? Thanks!

Viewing 1 replies (of 1 total)
  • Anonymous User 16286191

    (@anonymized-16286191)

    I also encountered this problem
    I researched and found
    I also use the WP Activity Log plugin
    And it clashes with that line

    
    do_action( 'lostpassword_post' );
    

    In the file
    frontend-reset-password/includes/somfrp-functions.php:343

    the php error:

    
    2021/06/14 17:53:12 [error] 1023#0: *9194672 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function WSAL_Sensors_LogInOut::event_user_requested_pw_reset(), 1 passed in /home/petzaorg/domains/petza.org.il/public_html/wp-includes/class-wp-hook.php on line 292 and exactly 2 expected in /home/petzaorg/domains/petza.org.il/public_html/wp-content/plugins/wp-security-audit-log/classes/Sensors/LogInOut.php:543
    Stack trace:
    #0 /home/petzaorg/domains/petza.org.il/public_html/wp-includes/class-wp-hook.php(292): WSAL_Sensors_LogInOut->event_user_requested_pw_reset()
    #1 /home/petzaorg/domains/petza.org.il/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #2 /home/petzaorg/domains/petza.org.il/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #3 /home/petzaorg/domains/petza.org.il/public_html/wp-content/plugins/frontend-reset-password/includes/somfrp-functions.php(343): do_action()
    #4 /home/petzaorg/domains/petza.org.il/public_html/wp-includes/class-wp-hook.php(292): somfrp_lost_pass_ca" while reading response header from upstream, client: 93.157.82.13, server: petza.org.il, request: "POST /reset-password/ HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php74/sockets/petzaorg.sock:", host: "petza.org.il", referrer: "https://petza.org.il/reset-password/"
    
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error’ is closed to new replies.