Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tcviper on
implode(): Bad arguments. in /home/httpd/vhosts/sharedbans.com/httpdocs/modules/user.module on line 342.
Getting this message for specific users only while the function itself looks just fine,
anybody have any idea on how to fix this?
Comments
For the specific users - have you roles defined??
The only thing that I can see that _could_ be problematic is the code line 348 on Drupal 4.7 RC2
if $account->roles is not an array you would get such an error message.
Can you assign some roles, and re-perform what ever action you did to see if you can reproduce the error? If this solves the problem it either means that a check should be made before the implode - or the roles should be set _more_ correctly at account creation.
Paddy.
http://deburca.org, and http://amadain.net
Paddy.
http://deburca.org
sql error
I am having the same problem on a couple of sites. It seems to depend on which contrib modules are installed. All registered users default to auth role so I am not sure changing the role status will have any affect. I suspect it might have something to do with the new $base_url stuff.
Jim