PHP Notice while display error is on
-
Hi,
I’ve just tested the plugin with disabled browser’s javascript.
It is doing its job, great! Just besides this line which I suppose is there produced correctly by the plugin:
Error: empty answer. []
there’s also the message recorded since I have display errors set to on. This is the message:
Notice: Undefined index: ant-spm-q in /home/zzzzz/public_html/wp-content/plugins/anti-spam/anti-spam.php on line 102
Notice: Undefined index: ant-spm-q in /home/zzzzz/public_html/wp-content/plugins/anti-spam/anti-spam.php on line 105
You may be want to trim the code a bit. This is the first link I have after using the Google for this issue and it seems as a good starting point:
https://stackoverflow.com/questions/4261133/php-notice-undefined-variable-and-notice-undefined-index
- The topic ‘PHP Notice while display error is on’ is closed to new replies.