PHP Notices to Fix
-
I’m getting a couple of PHP notices when running a background process that isn’t passing in traditional $_SERVER vars:
Notice: Undefined index: HTTP_USER_AGENT in /........./wp-content/plugins/codestyling-localization/codestyling-localization.php on line 114
Notice: Undefined index: HTTP_USER_AGENT in /........./wp-content/plugins/codestyling-localization/codestyling-localization.php on line 116
Not a huge deal, but would be a good fix. Wrapping this code in
isset()
should fix this, right?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notices to Fix’ is closed to new replies.