I get PHP notices on views that use the views_xml_backend query plugin:

Notice: Trying to get property of non-object in template_preprocess_views_view_fields() (line 224 of .../www/sites/all/modules/views/theme/theme.inc).

This seems to be because views_xml_backend_plugin_query_xml builds each result as an array, while Views expects results to be objects.

Comments

becw’s picture

Title: PHP notices » PHP notices - view results should be objects (patch)
Status: Active » Needs review
StatusFileSize
new2.6 KB

Here's a patch.

becw’s picture

Assigned: becw » Unassigned
twistor’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

formatting