As soon as webforms associate is enabled from the admin-> site building -> modules section. The entire site starts to throw up warnings ... coming from webforms_Associate module on line 48 for missing arguements, when trying to view almost any content type, even though none of my content types are associated with webforms yet.

I looked at the module code for a bit... there is a line there (at line 48) where the if statement is something like this

if (webforms associated !== false) then load up the webforms....
it should be != rather than !== ... a simple syntax error
making the code always enter the if statement even if there are no associated webforms, so then when the module attempts to load up the associated webforms , it is unable to because it's loading nulls throwing up errors.

Simple mistake with a simple fix. Hope it gets updated so that the module is good out of the box.

Thanks.

Comments

jdwfly’s picture

Status: Active » Closed (duplicate)

This is a duplicate post of Enabling the module immediately results in all errors on all webforms.

btw you should check the recent dev version because it does not have that if statement you are talking about.