I just copied exactly what was showing on the page the second I hit submit to create a new page. Just want some thoughts as to why this occured and how it effects me.

"Creating a new Page View Edit Outline Track

warning: Invalid argument supplied for foreach() in /home/rikk/public_html/drupal-6.1/modules/user_relationships/user_relationship_node_access/user_relationship_node_access.module on line 153."

Thanks Richard

Comments

rikk’s picture

Her eis line 153

foreach($node->user_relationship_node_access as $action => $permissions) {

rikk’s picture

Fixed it by changing the argulemnt ...PLEASE DO NOT RESPOND....

TheresaM’s picture

warning: Invalid argument supplied for foreach() in /home/.matanmi/adminpv/mysite.com/drupal-6.2/sites/all/modules/user_relationships/user_relationship_node_access/user_relationship_node_access.module on line 153.

having the same issue, i'm very new and just learning html and css, trying to understand php as I learn. I'm still very basic and was wondering how you fixed your issue. any advice is much appreciated.

My first site build

issue resolved , dont respond

robert castelo’s picture

Status: Active » Closed (fixed)
audre’s picture

Just installed the latest user_relationships-6.x-1.0-beta7.tar, and get the same error?

Sorry if I am missing the obvious here somewhere, but I could not find out where/how to fix this. Did a few searches for 'user_relationships' on the site here to see if anything jumped out at me... sorry... nothing did LOL.

The code I have in my user_relationship_node_access.module is the same as listed previously at line 153.

Any help much appreciated.

Thanks

robert castelo’s picture

You're trying to use a module written for Drupal 5 on a Drupal 6 site.