I get an error in my log and strange behavior when a user tries to login and fails. My blocks show no posts and I get the following errors in my log:

Type error
Date Wednesday, March 9, 2005 - 11:07pm
User Anonymous
Location /?q=user/login
Message warning: implode(): Bad arguments. in /homepages/41/d89063443/htdocs/www/bcrep/modules/taxonomy_access/taxonomy_access.module on line 484.

and

Type error
Date Wednesday, March 9, 2005 - 11:07pm
User Anonymous
Location /?q=user/login
Message warning: array_keys(): The first argument should be an array in /homepages/41/d89063443/htdocs/www/bcrep/modules/taxonomy_access/taxonomy_access.module on line 484.

Each error is reported in the log 21 times. When the user fails to login the new page does not show any posts in the blog and event blocks.

Its annoying but not a major issue, since the person can still see the menu and the next page they go to shows correctly.

My configuration
CivicSpace 0.8.0.3
Latest taxonomy_access module from CVS

Bye the way I LOVE this module. drupal would be unusable for my website if I could not secure some content.

Thanks!!

JJ

Comments

malfunct’s picture

I saw this error as well. I think it has to do with the fact that $user_object->roles is not an array.

This may be a bug elsewhere in drupal when someone fails to login they are no longer any user at all instead of being the anonymous user. Some day I'll dig into it deeper.

pyromanfo’s picture

I think I might've fixed this in CVS, if you wanna try it out.

malfunct’s picture

Which version should I get, my site is still 4.5.2 and not 4.6.0. Also is it just the module that changed or the patch too?

keve’s picture

Status: Active » Closed (fixed)