• Hello, I noticed an error log at the root of my WordPress site. The error relates to WPtouch. “Undefined array key “HTTP_USER_AGENT” in …wp-content/plugins/wptouch/core/class-wptouch-pro.php on line 2775″

    The plugin seems to be working fine despite the error.

    I’m using WPtouch Version 4.3.41, WordPress 6 and PHP 8.0.16.

    Any help would be appreciated.

Viewing 1 replies (of 1 total)
  • This is just a warning, nothing serious, but even with WPtouch 4.3.44 the issue has not been resolved.

    https://www.php.net/manual/en/language.types.array.php says: “Attempting to access an array key which has not been defined is the same as accessing any other undefined variable: an E_WARNING-level error message (E_NOTICE-level prior to PHP 8.0.0) will be issued, and the result will be null.”

Viewing 1 replies (of 1 total)
  • The topic ‘HTTP_USER_AGENT Error’ is closed to new replies.