I get random Parse error: syntax error, unexpected $end in my code. All i have to do is refresh the page and the error goes away, all is working. When it appears the line is always different and when i examine the line nothing is wrong with the code. This is frustrating because i don't know how to debug it.... It's random.
Has anyone ever experienced this before. For example i got this error randomly..
Parse error: syntax error, unexpected $end in ... on line 3828
$searchterm1 = substr($searchterm, 0, $limitz1) . '..';
believe me there is nothing wrong with that line. When i refresh the error dissapears until a randomly get another parse error $end with a different line.
Any help appreciated.