Moving a site over to new location and while migrated a Formit implementation I began receiving a error in one a preHook snippet named 'procAssess' as defined below.
[[!FormIt?
&hooks=`procAssess,email,redirect`
&emailTpl=`emlAssessmentForm`
&emailTo=`[email protected]`
&emailSubject=`[Company Name] Assessment Completed`
&emailBCC=`[email protected]`
&redirectTo=`65`
&store=`1`
]]
When Formit attempts to run this snippet the following error is generated:
Parse error: syntax error, unexpected '}' in
...../web/content/core/cache/includes/elements/modsnippet/33.include.cache.php on line
8
Clearing the site cache does not does not fix this error. I've even tried replacing procAssess with an empty snippet that only contains
and the same error is generated with the exception of reference to the new snippet id. (e.g. 42.include.cache.php on line 8 ).
Anyone have any clues on this?
[ed. note: themoleskin last edited this post 14 years, 6 months ago.]