Closed (fixed)
Project:
Views Field View
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2011 at 17:59 UTC
Updated:
6 Feb 2012 at 16:50 UTC
Enabled this module and set up one views_field_field. Works great for the view. But all my other pages get this error:
Notice: Undefined variable: output in views_field_view_handler_field_view->render() (line 263 of C:\htdocs\sites\all\modules\views_field_view\views_field_view_handler_field_view.inc).
I inserted this at Line 221 and the errors went away:
if (!isset($output)) $output='';
Comments
Comment #1
moniuch commentedsame here, although line 295
Comment #2
damiankloip commentedCan you confirm if this is still the case in rc1 version? Some of the code was refactored before this release.
Comment #3
yannisc commentedI have same problem with RC1 (line 295).
Comment #4
damiankloip commentedI think I will set the output variable right at the top of the render() method, so then it's always there and no need for any additional conditionals.
Comment #5
damiankloip commentedCommitted fix to 7.x-dev
Comment #6
yannisc commentedComment #7
damiankloip commentedFixed is fine, thanks.