array_search
You should try deleting your webassist > email folder from your site root and applying UE to another page then test out that page. If you get the same error post back with a copy of the webassist folder and the page with UE applied to it in a zip archive so I can take a look.
I am getting the same error on line 356 and my mailformatting_php.php file has 375 lines.
Here is the function that is causing the error:
The second line (the if (array_search...) is the problem area.
I would very much appreciate your help on this asap.
Thanks.
function RemoveValue($theValue, $theExact, $theStart, $theEnd, $theInclude) {
if (array_search($theValue,$theExact) !== false) {
return true;
}
for ($x=0; $x<sizeof($theStart); $x++) {
if (strpos($theValue,$theStart[$x]) === 0) {
return true;
}
}
for ($x=0; $x<sizeof($theEnd); $x++) {
if (strrpos($theValue,$theEnd[$x]) === strlen($theValue)-strlen($theEnd[$x])) {
return true;
}
}
for ($x=0; $x<sizeof($theInclude); $x++) {
if (strrpos($theValue,$theInclude[$x]) !== false) {
return true;
}
}
return false;
}
?>