I created a views with GMap style and Fields row style: the map shows up and everything works as expected.
When I try to use the Node row style, the map and the whole page doesn't show up at all.
Any explanation?

CommentFileSizeAuthor
#6 field_alias.patch504 bytesamelfe

Comments

sgriffin’s picture

subscribing

sgriffin’s picture

Fatal error: Cannot access empty property in /home/xxx/public_html/sites/all/modules/views/modules/node.views.inc on line 670
Node style is needed to display teasers per content type via contemplate.

chezwel’s picture

Subscribe

rooby’s picture

Status: Active » Closed (duplicate)
rooby’s picture

Status: Closed (duplicate) » Postponed (maintainer needs more info)

Unmarking this as a duplicate as the other issue (#551700: Invalid argument supplied for foreach() in /.../modules/views/plugins/views_plugin_display.inc on line 568) seems to be a views issue

I have successfully used the node row style.

Can you post an export of your view?
And possibly an export of your content type?

@sgriffin:
Your problem looks like a views or contemplate problem.
If you problem is somehow similar to the original poster's please describe how.

amelfe’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new504 bytes

Actually, if I understand well, it's the same problem as #765928: Cannot access empty property in node.views.inc : 802
Here is a solution in the patch below.
I believe it's enough to solve the problem.

podarok’s picture

Version: 6.x-1.1-rc1 » 7.x-1.x-dev
Category: support » bug
Status: Needs review » Needs work

all feature requests can be imported in 6.x version after committing em in major versions with backport afterwards
Can You make this ?

johnv’s picture

Status: Needs work » Fixed

ITMT, the patch from #6 has already landed in code.

Status: Fixed » Closed (fixed)

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