Notice: Undefined variable: zf_wrapper_classes in include() (line 13 of /var/www/elmsln/core/dslmcode/shared/drupal-7.x/themes/ulmus/zurb_foundation/ds_layouts/zf_1col/zf-1col.tpl.php).

Comments

btopro’s picture

Seems related to #2415187: Undefined variable: zf_wrapper_classes which is marked fixed through this is still happening

btopro’s picture

Traced this down, this notice can be thrown when ds_forms is used to present an entity form. It throws on the subsequent page load which was throwing me off but this will happen on any site currently using ds_forms sub-module and zurb-foundation. Not entirely sure how to target the template files when they are handled in this manner. digging.

btopro’s picture

Status: Active » Needs review
StatusFileSize
new1.4 KB

This patch should resolve the issue. If ds_forms is enabled and told to process an entity this will help it be able to process the item in question. Removed the notice for me.

KevinVanRansbeeck’s picture

Status: Needs review » Needs work

Does not fix the problem for me.
Keep on receiving the notices.

Notice: Undefined variable: zf_wrapper_classes in include() (line 13 of themes/custom/zurb_foundation/ds_layouts/zf_1col/zf-1col.tpl.php).
Notice: Undefined variable: zf_wrapper_classes in include() (line 13 of themes/custom/zurb_foundation/ds_layouts/zf_1col/zf-1col.tpl.php).
Notice: Undefined variable: zf_wrapper_classes in include() (line 13 of themes/custom/zurb_foundation/ds_layouts/zf_1col/zf-1col.tpl.php).
Notice: Undefined variable: zf_wrapper_classes in include() (line 13 of themes/custom/zurb_foundation/ds_layouts/zf_1col/zf-1col.tpl.php).
museumboy’s picture

I have a few different drupal sites running foundation and I'm getting this error as well but only recently in the last few weeks. It stops rendering the layouts and I have to clear the cache. I'm not exactly sure why it keeps popping up.

museumboy’s picture

After tearing apart my site locally and trying to isolate why this is happening I've determined this is an issue with Fieldable Panel Panes (FPP). Is there anyway of modifying the above script to fit FPP?

museumboy’s picture

The error seems to be related to something going on with my sub theme. Changing the theme removes the error and loading my sub theme in a sandbox project produces the error. I've picked apart every little piece removing all customization and I cannot figure this out.

Has anyone encountered this?

museumboy’s picture

I'm guessing that several modules out there can break this. I've linked an issue from the mailsystem module that was the main culprit for my error. I'm still getting this error in an inline entity form.

museumboy’s picture

museumboy’s picture

While mailsystem added to the problem, there is one spot that specifically throws warning because of an entityform using DS_forms.

This patch did not work to solve that.

joe_pixelrow’s picture

This patch worked for me.
It got rid of the error message, but more importantly, it got Display Suite two column zurb layout working properly.
I think this patch should be committed, it seems necessary to use Zurb DS layouts on data entry forms.