I’m getting a ton of these starting 1-2 weeks ago. Do you have an idea what it is? And should it be excluded from the logs?
Thanks
01/Jul/22 15:45:13 #5117933 INFO - 108.59.86.53 GET /index.php - Sanitising user input - [HTTP_USER_AGENT: Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90]
01/Jul/22 15:45:13 #7726870 INFO - 108.59.86.53 GET /index.php - Sanitising user input - [HTTP_USER_AGENT: Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90]
01/Jul/22 15:45:21 #6719332 INFO - 108.59.86.53 GET /index.php - Sanitising user input - [HTTP_USER_AGENT: Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90]
01/Jul/22 15:45:21 #4721540 INFO - 108.59.86.53 GET /index.php - Sanitising user input - [HTTP_USER_AGENT: Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90]
01/Jul/22 15:45:26 #3143579 INFO - 108.59.86.53 GET /index.php - Sanitising user input - [HTTP_USER_AGENT: Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90]
01/Jul/22 15:45:26 #8024175 INFO - 108.59.86.53 GET /index.php - Sanitising user input - [HTTP_USER_AGENT: Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90]
01/Jul/22 15:45:26 #6692084 INFO - 108.59.86.53 GET /index.php - Sanitising user input - [HTTP_USER_AGENT: Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90]
01/Jul/22 15:45:34 #8055425 INFO - 108.59.86.53 GET /index.php - Sanitising user input - [HTTP_USER_AGENT: Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90]
]]>PHP Notice: Undefined index: HTTP_USER_AGENT in /wordpress/wp-content/plugins/specific-content-for-mobile/specific-content-for-mobile.php on line 413-427
Is this anything to worry about.
Thank you
]]>Warning: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' (this will throw an Error in a future version of PHP) in /wp-content/themes/astra/header.php on line 1
We get tons of errors, related to this plugin, in our debug.log file:
[date] PHP Notice: Undefined index: HTTP_USER_AGENT in (...)/wp-content/plugins/logo-slider/logo-slider.php on line 207
Could you please investigate this further?
Thanks,
Lunule
thank you for your plugin.
No big error, but perhaps you like to fix it. I get this message in my logfile:
PHP Notice: Undefined index: HTTP_USER_AGENT in …/wp-content/plugins/stop-oldies/stop-oldies.php on line 17
Best wishes,
tiswp
https://www.ads-software.com/plugins/stop-oldies/
]]>PHP Notice: Undefined index: HTTP_USER_AGENT in /home/lancast/public_html/wp-content/plugins/twitter-facebook-google-plusone-share/tf_display.php on line 432
And again on lines 434, 436, 438, 440, 442, 444, 446 and 448
I’m guessing something is crawling my site that does not have it’s user agent set.
It is a VERY easy fix, all you have to do is put
if(empty($_SERVER['HTTP_USER_AGENT']))
return false;
Above line 432.
I have completed this update on my server, but it would be nice if it didn’t break again when I updated! Thank you!
https://www.ads-software.com/plugins/twitter-facebook-google-plusone-share/
]]>[DATE and TIME] PHP Notice: Undefined index: HTTP_USER_AGENT in {path to root}/wp-content/plugins/simple-login-log/simple-login-log.php on line 439
How to get rid of that? I guess this comes from login attempts without a user agent header in the request – which is unfortunately the case with all the brute force attacks.
https://www.ads-software.com/plugins/simple-login-log/
]]>I have Scan HTTP_USER_AGENT set to “Yes”.
I have set Sanitise HTTP_USER_AGENT to “Yes”.
I have Block suspicious bots/scanners set to “Yes”.
What else should I be scanning to help block these attacks before they can cause /wp-login.php to load?
Thank you for your help!
https://www.ads-software.com/plugins/ninjafirewall/
]]>PHP Notice: Undefined index: HTTP_USER_AGENT in {web server root directory}/wp-content/plugins/file-away/lib/cls/class.fileaway_definitions.php on line 110
… apparently tons of requests are not providing a user agent in the header – but this could be sorted out the the File Away code I hope.
Thanks,
Michael
https://www.ads-software.com/plugins/file-away/
]]>