• Resolved Aitor Méndez

    (@aitormendez)


    Warning shows me that:

    “A non-numeric value encountered”

    in this line:

    $pass = $this->generator->randomNumber( $qty - 1 ) + $this->generator->randomLetter();

    Context:

    public function user_pass( $pass = null, $qty = 10 ) {
        if ( is_null( $pass ) ) {
            // By the way we should be using the WordPress wp_generate_password
            $pass = $this->generator->randomNumber( $qty - 1 ) + $this->generator->randomLetter();
        }
        return $pass;
    }

    PHP 7.4.21

    • This topic was modified 3 years, 4 months ago by Aitor Méndez.
Viewing 1 replies (of 1 total)
  • Plugin Author Gustavo Bordoni

    (@bordoni)

    Thanks so much for the Bug report.

    I should be able to release a new version soonish with a bug fix to that problem.

    Best Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Error when create users’ is closed to new replies.