after installing version 6.x-1.2 when I log in I get
warning: Invalid argument supplied for foreach() in /var/www/drupal/sites/www.poloitbuenosaires.org.ar/modules/content_complete/content_complete.m... on line 513.
warning: Invalid argument supplied for foreach() in /var/www/drupal/sites/www.poloitbuenosaires.org.ar/modules/content_complete/content_complete.m... on line 528.

I rebuilt the rules. but problem's still there
any help on this? TIA

Comments

ggalan1173’s picture

I've found out why.
I have a rule: "Redirect to profile creation page, if users have no profile", that, in fact, showed a message to the user.
Now, in the Event "The users logs in", I have not condition Content Complete % is >= than.

How can I replicate this functionality lost.
TIA

pvhee’s picture

Status: Active » Postponed (maintainer needs more info)

Problem seems to be different. It seems $type is not properly set at line 502.

  $type = $types[$content_type];

because afterwards this gives the error:

  foreach ($type['extra'] as $code => $data) {

Can you find out why $type is not set? What is for example the value of $content_type?

Can you clarify a bit more the relation with rules? No other problems have been reported related to this.

ggalan1173’s picture

Maybe you are right, but now, we are going to production online, so I can't test it. maybe next week, and then I'll clarify.
Thanks

pvhee’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing old issues. This is likely resolved in later versions.