error when creating new page.

rikk - March 21, 2008 - 16:34
Project:News Page
Version:HEAD
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

rikk - March 21, 2008 - 16:37

Her eis line 153

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

#2

rikk - March 22, 2008 - 15:02

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

#3

TheresaM - May 14, 2008 - 02:21

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

Robert Castelo - May 19, 2008 - 14:27
Status:active» closed

#5

audre - June 14, 2008 - 14:35

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

Robert Castelo - June 15, 2008 - 14:18

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

 
 

Drupal is a registered trademark of Dries Buytaert.