Project:News Page
Version:master
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

Her eis line 153

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

#2

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

#3

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

#4

Status:active» closed (fixed)

#5

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

#6

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

nobody click here