After upgrading to 2.1 Drupal gives a warning on all node pages:"warning: Illegal offset type in isset or empty in... xxx/modules/node/node. Flushing all caches did not help.

After reverting to version 2.0 the warnng disappeared.

Thanks.

JanPieter.

CommentFileSizeAuthor
#2 diff-access_control.diff986 bytesstacysimpson

Comments

stacysimpson’s picture

Same problem here. One interesting thing to note is that the warning only appears for users without administrative rights.

stacysimpson’s picture

Version: 6.x-2.1 » 6.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new986 bytes

Finally had a chance to chase this one down; The attached change seems to work for us. The module's access callback assumed a set of data was always available.

jippie1948’s picture

Status: Needs review » Closed (fixed)

Hi,

I downloaded just today the dev version of 2010-Oct-18. Tested it and after flushing the cache that version works fine: No problems anymore.

Hence I did not test the above patch by stacysimpson. But anyway, thank you very much for posting it, as it triggered me to do something about what went wrong.

JanPieter.

stacysimpson’s picture

Status: Closed (fixed) » Needs review

This is still busted in the latest 6.x-2.x-dev release, Feb 25, 2011. My patch in #2 seems to resolve the problem, so I'm reposting for review.

jippie1948’s picture

I applied your patch and it works! :-)

Thanks, Stacy

JP

drunken monkey’s picture

Please see #1182154-3: Offering to maintain Diff if you'd be willing to take over this project.
Hopefully, this way all these issues with working patches will finally be fixed.

realityloop’s picture

Status: Needs review » Active

applied to dev

realityloop’s picture

Status: Active » Fixed

status change

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.