Hi,
I've just installed CTAOG 5.x-1.x-dev and there is (similar?) warning as http://drupal.org/node/151805, but it happens on the 743 line in my case:
warning: Invalid argument supplied for foreach() in .../drupal51/sites/all/modules/og_content_type_admin/og_content_type_admin.module on line 743.

Important: That warning is shown on every content (no matter group and/or content type) for LDAP authenticated users only (no such warning for admin & hand-made users). I use ldapauth 5.x-1.2

Any idea welcome,
Michal

Comments

rconstantine’s picture

I'm going to need the surrounding code from that line. I've changed a lot since I posted the last release and my line numbers won't match your anymore.

mblazke’s picture

Unfortunatelly, I can not help locating the source lines. I had to simply turn the CTAOG off three weeks ago and solve the feature by my own hard-coded OG block. The bug source is not on installed on my server now.
I can give it a try again no earlier than mid-September
Sorry.

rconstantine’s picture

Category: bug » feature

Compatibility with another module is certainly not a bug. I should have changed this to a feature request in the first place.

rconstantine’s picture

Status: Active » Closed (fixed)

It has been a long time with no further input. Closing...

Magarna’s picture

I realize this message is closed, so I may have to start a new threat or continue researching this for further information, but I am not sure how to resolve this conflict, which appears in all non-admin content pages:

"warning: Invalid argument supplied for foreach() in /home/.../public_html/sites/all/modules/og_content_type_admin/og_content_type_admin.module on line 743."

Magarna’s picture

I realize this message is closed, so I may have to start a new thread or continue researching this for further information, but I am not sure how to resolve this conflict, which appears in all non-admin content pages:

"warning: Invalid argument supplied for foreach() in /home/.../public_html/sites/all/modules/og_content_type_admin/og_content_type_admin.module on line 743."

Magarna’s picture

I realize this message is closed, so I may have to start a new thread or continue researching this for further information, but I am not sure how to resolve this conflict, which appears in all non-admin content pages:

"warning: Invalid argument supplied for foreach() in /home/.../public_html/sites/all/modules/og_content_type_admin/og_content_type_admin.module on line 743."

rconstantine’s picture

Why did you post three times? Also, it would seem you added no additional information to what the original post had. I certainly can't read tea leaves or knuckle bones to figure out what is wrong. The only thing that is clear is that the LDAP module is not compatible with this one.