• Resolved Doug M

    (@nes-native-english-services)


    This error gets thrown twice when someone tries to register with an already registered email address.

    Warning: Missing argument 2 for wordfence::registrationFilter() in /home/billiar1/public_html/unglove.me/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 1169
    
    Warning: Missing argument 3 for wordfence::registrationFilter() in /home/billiar1/public_html/unglove.me/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 1169

    I get this error when I tried to register with a new email address

    Warning: Missing argument 2 for wordfence::registrationFilter() in /home/billiar1/public_html/unglove.me/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 1169
    
    Warning: Missing argument 3 for wordfence::registrationFilter() in /home/billiar1/public_html/unglove.me/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 1169
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/billiar1/public_html/unglove.me/wp-content/plugins/wordfence/lib/wordfenceClass.php:1169) in /home/billiar1/public_html/unglove.me/wp-includes/pluggable.php on line 898
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/billiar1/public_html/unglove.me/wp-content/plugins/wordfence/lib/wordfenceClass.php:1169) in /home/billiar1/public_html/unglove.me/wp-includes/pluggable.php on line 1167

    Posting on Wordfence support also.

    https://ww.wp.xz.cn/plugins/geodirectory/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Paolo

    (@paoltaia)

    Hi,

    several of our members are using Wordfence without issues. In any case that seem to be marely a warning message that should only be logged in your error log.

    Please see: https://wpgeodirectory.com/docs/faqs/help-i-get-a-php-warning-on-my-pages/

    That should stop making the warning appear and make the application work.

    Let us know,

    Thanks

    by 15.07.2016, it is not fixed by WordFence.

    So,till that is fixed, you should do manual fix:
    uncheck “Prevent users registering ‘admin’ username if it doesn’t exist” from WordFence>Options

    and in Wordfence plugin folder>lib>wordfenceClass.php , on line 1169, change this:
    public static function registrationFilter($errors, $santizedLogin, $userEmail){

    to
    public static function registrationFilter($errors, $santizedLogin=false, $userEmail=false){

    Hi guys,
    Kindly check my reply here, I don’t recommend editing Wordfence “wordfenceClass.php” file, as registration_errors filter is used correctly there.

    Thanks.

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

The topic ‘Wordfence error on registration’ is closed to new replies.