get_users() not returning all users in site

ederoock,

I’m not sure why you’re only seeing 4 of the 69 users with the code provided, but I can tell you that the $fields parameter of the get_users() function can be set to ‘all_with_meta’.

Change your array from
'fields' => 'all' to 'fields' => 'all_with_meta'

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)