I am having the strangest problem. I wrote a module for WHMCS which is working fine in my WHMCS but not in a client's... We have the exact same setup's (server related) both are cPanel and both versions of WHMCS are the same. The only difference it seems is in the php version.
He is running PHP 5.4.24 and I am running 5.5 when he enters into my main module he gets an intimidate message :
Deprecated: Function ereg_replace() is deprecated in /home/dir/.....:eval()'d code on line 1
When he tried to generate a PDF he gets this error:
Notice: Undefined variable: response in /home/dir.../index.php(1) : eval()'d code(1) : eval()'d code on line 102
I have searched and searched... I cannot find the function or the eval()'d
value anywhere in my code. I am not sure at all where this is coming from.
Also, I have checked line 102 and it simply says:
<h3 style="text-align:center"><? echo $response; ?></h3>
Even if the $response
variable does not exist it should not give that error should it?
How can I locate where this issue is coming from?
PS:
The code is encrypted, but even when searching the encrypted code I cannot see the function or anything related.
Any assistance would be awesome in resolving this issue :)