• Resolved dimal

    (@dimalifragis)


    22-Jun-2022 04:47:06 UTC] PHP Warning: Undefined array key “HTTP_USER_AGENT” in /home/wp-content/plugins/ultimate-post/classes/Functions.php on line 562

    WP 6 and PHP 8.0.x

    And why http_user_agent is used in the plugin? I do not get it. Is that data collection?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPXPO

    (@wpxpo)

    Hello @dimalifragis ,
    This is our plugin bug. Our development team already fixed this bug. We will release a new update as soon as possible.

    Question: And why http_user_agent is used in the plugin? I do not get it. Is that data collection?

    Ans: No, this code is not for collecting data. We have an option in Query called “Post Per Page”. Here you can set a specific number of posts for Desktop, Tablet, and Mobile separately. For specifying the mobile, tablet, and Desktop we use HTTP_USER_AGENT data to understand the user’s device. Hope you got the point.

    Thank you so much.

    Tonmoy

    (@azimkhan123)

    Hello @dimalifragis ,
    Your issue has been fixed in the latest update. Please update your plugin and send us feedback if you still face this type of warning.

    Have a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: Undefined array key “HTTP_USER_AGENT”’ is closed to new replies.