Sterc / FormIt

A dynamic form processing Snippet for MODX Revolution
https://docs.modx.com/current/en/extras/formit
33 stars 58 forks source link

Specifying a Dynamic To Address shows cache error in log #1

Closed valokammi closed 9 years ago

valokammi commented 10 years ago

Using this in my form (From RTFM, modified of course in my site). [[!FormIt? &emailTo=[[+addressTo]]]] Form:

Error log got errors like this every time I visit page for every line which are in option: (ERROR@/...../public_html/core/cache/includes/elements/modsnippet/26.include.cache.php : 39) PHP warning: in_array() expects parameter 2 to be array, string given

26=FormItIsSelected snippet

Unix Revo 2.2.11 Formit 2.2.0 Browser tested: FF 26.0, Chorme 32

Quick fix (haven`t tested) found here: http://forums.modx.com/thread/88937/specifying-a-dynamic-to-address-cache-problems#dis-post-489087

Bumme commented 9 years ago

Fixed with #12