Hi,
I use a node display with 2 columns stacked fluid presentation.
When I put no field in the footer region, I have this error:

Notice : Undefined variable: footer_wrapper dans include() (ligne 35 dans /.../sites/all/modules/ds/layouts/ds_2col_stacked_fluid/ds-2col-stacked-fluid.tpl.php).
Notice : Undefined variable: footer_wrapper dans include() (ligne 37 dans /.../sites/all/modules/ds/layouts/ds_2col_stacked_fluid/ds-2col-stacked-fluid.tpl.php).

The error would be the same when no field is present in the header ("Notice : Undefined variable: header_wrapper dans include...").

I had no error with version 7.x-1.5 of DS, for the exact same display with the same fields. Ran db updates, cleared cache, the error remains with the dev version.

CommentFileSizeAuthor
#5 1698936-5.patch1.04 KBswentel

Comments

swentel’s picture

Status: Active » Postponed (maintainer needs more info)

Can you update to the latest version, resave the layout and see if they still remain those notices ?
I currently can't reproduce the notices.

Louis Bob’s picture

I have updated to the latest version, and I still have the error.

Well actually it is a bit more complicated than what I have described: the mentioned node display contains a view in its footer.
That view itself uses Display Suites, and is managed from "Views Displays".
And it is here that the described problem occurs: when no field is present in the footer, I have the above notices, plus

class="group-footer">

is displayed in the footer part.
What I did: I added a GlobalPHP field in the view, with that code

print'';

to have a field with nothing displayed.
Then in "Views Displays" I put this GlobalPHP into the footer part. Then the error message disappears, because now there is a field in the footer.


Still it doesn't fix the issue, but as for the display, it is ok.

swentel’s picture

Issue tags: -beta blocker +RC blocker

Tagging

swentel’s picture

Status: Postponed (maintainer needs more info) » Fixed
Issue tags: -RC blocker
StatusFileSize
new1.04 KB

Thanks for the steps, this fixes the bug, committed and pushed, patch also attached.

Status: Fixed » Closed (fixed)

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