Getting this error on node pages (displays), and on DS admin pages, since updating (via Drupal UI update prompt):

Notice: Undefined variable: layout_attributes in include() (line 13 of /home/me/public_html/mysite.com/sites/all/modules/ds/layouts/ds_2col_stacked_fluid/ds-2col-stacked-fluid.tpl.php).

This appears to be a new feature, which I am not using at present.

From Drupal log report:

Type:	php
Date:	Wednesday, 25 April 2012 - 8:44pm
User:	_superadmin
Location:	http://mysite.com/node/add/food-drink
Referrer:	http://mysite.com/node/add
Message:	Notice: Undefined variable: layout_attributes in include() (line 13 of /home/me/public_html/mysite.com/sites/all/modules/ds/layouts/ds_2col_stacked_fluid/ds-2col-stacked-fluid.tpl.php).
Severity:	notice
Hostname:	75.251.220.128
Operations	

(I have been making some changes to taxonomy, content types and (core) fields -- but not to DS. I assume that is unrelated.)

CommentFileSizeAuthor
#10 1548098-10.patch607 bytesswentel

Comments

aspilicious’s picture

Did you upgrade from 7.x-1.5?

swentel’s picture

It's a new option in ds layouts, resaving the layouts will remove the notices. That's what you get running on bleeding egde technology :)

aspilicious’s picture

Hmmm this is indeed a new feature...
What if you clear your caches?

mrsinguyen’s picture

Clear cache, this warning gone.

aspilicious’s picture

Status: Active » Fixed

Marking this fixed than :)

greta_drupal’s picture

resaving the layouts seemed to resolve. (now, to just figure out what that layout attributes dealio is all about. more toys!)

tlangston’s picture

Same thing here but clearing cache and resaving layouts does not permanently resolve. Clears error for the moment but when returning to the layout - errors again.

aspilicious’s picture

Status: Fixed » Active

Strange...

greta_drupal’s picture

Yep. I'm finding the same thing. Error is back. Can't confirm, but wonder if adding fields triggers the error again.

swentel’s picture

Status: Active » Fixed
StatusFileSize
new607 bytes

Figured it out, this is on a form! The url finally made me see the light. Patch attached, but also committed already.

Status: Fixed » Closed (fixed)

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