Fatal error: Unsupported operand types in .../rules/rules/modules/rules.events.inc on line 45
Jan van Diepen - May 20, 2009 - 11:45
| Project: | LDAP provisioning |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
I get the following fatal error when CREATING a user through LDAP provisioning:
Fatal error: Unsupported operand types in .../rules/rules/modules/rules.events.inc on line 45
For the solution you might have a look at http://drupal.org/node/362799. It suggests $account->roles is not an array.

#1
It's surely not critical, when it's only occurring with those ldap module.
> For the solution you might have a look at http://drupal.org/node/362799. It suggests $account->roles is not an array.
That might be the cause, yes. But the question is, shouldn't it be there? I think so. Probably, the ldap module should add this array, even if it's empty.
#2
Hi Jan,
integrating the module LDAP provisioning with Drupal I have the same problem.
Then you have solved this problem? The state is yet active. Thank you for your cooperation.
Angelo.
#3
Handing over to LDAP provisioning.
Might it be that $user->roles is unset? I think it shouldn't be that way.
#4
Hi Jan,
excuse me but I am new in Drupal and I am inexperienced. You might suggest precisely what you did to resolve the anomaly?
You tried to set the variable $user-> roles?
In what way?
Thanks in advance
Angelo
#5
Which rules events and actions do you use? I cannot replicate this issue? Do you use the latest dev version of the ldap_provisioning?
#6
Currently I use 6.x-1.0-alpha2 version of Ldap-provisioning.
It cause this problem?