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)
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

fago - May 28, 2009 - 11:11
Priority:critical» minor

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

ISI - July 9, 2009 - 15:08

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

fago - July 10, 2009 - 12:49
Project:Rules» LDAP provisioning
Version:6.x-1.0» 6.x-1.x-dev
Component:Rules Engine» Code

Handing over to LDAP provisioning.

Might it be that $user->roles is unset? I think it shouldn't be that way.

#4

ISI - July 15, 2009 - 13:53

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

miglius - July 17, 2009 - 20:08
Status:active» postponed (maintainer needs more info)

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

ISI - July 20, 2009 - 14:52

Currently I use 6.x-1.0-alpha2 version of Ldap-provisioning.
It cause this problem?

 
 

Drupal is a registered trademark of Dries Buytaert.