Problem With PHP Site Recurrent Error In Logfile

I have a tracker (CPVLab) installed on a Droplet and it appears to work fine but I have a recurrent error in the logfile:

2015/07/23 14:30:57 [error] 1302#0: *10 FastCGI sent in stderr: “PHP message: PHP Notice: Undefined variable: query in /var/www/ on line 0” while reading response header from upstream, client:, server:, request: “GET /traydata.php?user=xxxx21&pass=d2c5fa20f0d93ec895a521d02fbf513d&action=campaigns HTTP/1.1”, upstream: “fastcgi://”, host: “

Ioncube loaders are installed and according to ioncube support, installed correctly. Can someone suggest where to start looking for this error?

Thanks in advance.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


I would begin in the /var/www/ file. The error indicates that this file is looking for a variable query that isn’t defined. What is happening in that file? What is requesting that file? What is it trying to do?

We need more detailed information of what’s going on to be able to advise, as it’s not clear what to suggest currently. It’s important to remember that when asking for help to provide as much information as you can. That gives us the ability to replicate or review things in full to assist.