T3 plugin is creating errors in log file:

[05-Jul-2022 19:36:05 UTC] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /home/esharks/public_html/plugins/system/t3/includes/core/less.php on line 119
[05-Jul-2022 19:36:05 UTC] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /home/esharks/public_html/plugins/system/t3/includes/core/less.php on line 119
[05-Jul-2022 19:36:05 UTC] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /home/esharks/public_html/plugins/system/t3/includes/core/less.php on line 119
[05-Jul-2022 19:36:05 UTC] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /home/esharks/public_html/plugins/system/t3/includes/core/less.php on line 119

    jan007

    Could you tell me the page where I can see this warning message?

    No pages. The errors apppear in the error-log file in the root. See attachment.

    error-log.zip
    840B

      jan007 Let me check with our dev team for this as I tried to install T3 Blank template in PHP 8 but there is no warning like that.

      Our dev updated the same file for you: /plugins/system/t3/includes/core/less.php

      if(array_key_exists("HTTP_USER_AGENT", $_SERVER)){
         $_SERVER['HTTP_USER_AGENT'] = "";
      }

      Kindly check.

      2 months later
      Write a Reply...
      You need to Login to view replies.