The follow error occurs when viewing an single image node:
Fatal error: Call to a member function substitutions() on a non-object in /sites/all/modules/views/includes/handlers.inc on line 1624

  • Steps to reproduce:
  • Clean install of Drupal
  • Enable Node Gallery module
  • Create new Image node ----> Create new Gallery node
  • Click on image node
  • Error message discplayed

Comments

rosso69’s picture

+1 Subscribe

dddave’s picture

Cannot reproduce on the testsite. Are you using views3?

larruda’s picture

I have just updated Views to 6.x-3.x-dev and now I'm getting this error message either. I think this may be related to Views module.

jlmeredith’s picture

Yes, I was using Views 3 dev.

dddave’s picture

Title: Error on viewing image gallery image » (Views 3 problem) Error on viewing image gallery image

I guess the handler needs some love. If anybody could provide a patch perhaps? I don't know when/if justintime has time to do it himself.

justintime’s picture

Title: (Views 3 problem) Error on viewing image gallery image » Node Gallery not compatible with Views 3.x
Version: 6.x-3.1 » 6.x-3.x-dev
Priority: Critical » Normal

I know awhile back, I looked at making NG compatible with both views 2 and 3. While it wasn't impossible, it would have resulted in a bunch of "if views is 2.x, then do this, but if it's 3.x, then do this" clutter.

Personally, I kinda doubt that the views team will ever make 3.x be the recommended release for D6. It's a large amount of effort for a waning amount of people. So, it's doubtful that NG 6.x-3.x will ever support Views 3.x.

However, Views3 *is* the recommended version for D7, so the D7 version of NG (NG4) will have to tackle this early on.

brayo4’s picture

I think its a views issue, I rolled back to Views 6.x-3.0-rc2 and everything works just fine.

dawehner’s picture

#1330716: Views substitutions broken after db_safe() update is perhaps an helpful issue here, because this fix might causes problems here.

Does this module might embed a view without pre_executing() ?
There was another module with the same kind of problem: #1339390: Views code doesn't execute pre_execute()

zengenuity’s picture

Status: Active » Closed (won't fix)

At this point, I won't be adding new features to the D6 version. If features are wanted for D7, please post a new issue.

zengenuity’s picture

Issue summary: View changes

Removing non important info