Title: Error when create users
Last modified: July 8, 2021

---

# Error when create users

 *  Resolved [Aitor Méndez](https://wordpress.org/support/users/aitormendez/)
 * (@aitormendez)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-when-create-users/)
 * 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 4 years, 10 months ago by [Aitor Méndez](https://wordpress.org/support/users/aitormendez/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * (@bordoni)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-when-create-users/#post-14770250)
 * 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.

 * ![](https://ps.w.org/fakerpress/assets/icon.svg?rev=1846090)
 * [FakerPress](https://wordpress.org/plugins/fakerpress/)
 * [Support Threads](https://wordpress.org/support/plugin/fakerpress/)
 * [Active Topics](https://wordpress.org/support/plugin/fakerpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fakerpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fakerpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/error-when-create-users/#post-14770250)
 * Status: resolved