Nov 22nd, 2013, 4:04 PM
I may have found a solution to this problem. It seems a lot of hosting companies are blocking /e option in preg_replace for security reasons and it has also been deprecated. I saw recommendations to replace "preg_replace" with "preg_replace_callback". I made the following changes based on some code I found online and it seems to be working for me. At least I am not getting the error message anymore and I can see all my form data. I haven't tested this any further yet so I don't know what unintended consequences may arise. Is anyone else experiencing this issue? Please let me know if this fixes it for you.
File: formtools/global/smarty/Smarty_Compiler.class.php
Replaced line 265
$source_content = preg_replace($search.'e', "'"
with
$source_content = preg_replace_callback($search.'i', "'"
File: formtools/global/smarty/Smarty_Compiler.class.php
Replaced line 265
$source_content = preg_replace($search.'e', "'"
with
$source_content = preg_replace_callback($search.'i', "'"