Support » Plugin: Microsoft Advertising Universal Event Tracking (UET) » debug mode error: “Use of undefined constant uet_tag_id”

  • jh

    (@jethrohazelhurst)


    Hi there,

    We have installed the Microsoft UET plugin which is great and simplifies installation. The plugin seems to be working correctly which is great, however when we enable debug mode, a PHP warning is clearly visible. The warning is as follows:

    Warning: Use of undefined constant uet_tag_id - assumed 'uet_tag_id' (this will throw an Error in a future version of PHP) in /home/xxxxxx.cloudwaysapps.com/xxxxxxxxxxx/public_html/wp-content/plugins/microsoft-advertising-universal-event-tracking-uet/wp-uet-plugin.php on line 33
    

    This usually would not be a problem, however this warning is filling up our server error logs and it would be good to get this fixed in a future update. The error logs look like this:

    [Tue May 25 12:29:52.562612 2021] [proxy_fcgi:error] [pid 10818:tid xxxxxxxxxxxxxxxxx] [client xxxxxxxxxxxxxxx] AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant uet_tag_id - assumed 'uet_tag_id' (this will throw an Error in ..............ersion of PHP) in /home/176860.cloudwaysapps.com/xxxxxxxxxxxxx/public_html/wp-content/plugins/microsoft-advertising-universal-event-tracking-uet/wp-uet-plugin.php on line 33', referer: https://www.xxxxxxxx.co.uk/xxxxxxxx/edit.php?post_type=shop_order

    Many thanks Microsoft!

    Best,

    Jethro

    • This topic was modified 1 year, 2 months ago by jh.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Microsoft

    (@microsoft)

    Hi Jethro,

    Thank you, will check this issue and fix it.

    Thanks,
    Xiaoying

    Plugin Author Microsoft

    (@microsoft)

    Hi Jethro,

    The fix for debug mode error: Use of undefined constant uet_tag_id has been published in the latest version 1.0.3.

    Thanks,
    Xiaoying

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘debug mode error: “Use of undefined constant uet_tag_id”’ is closed to new replies.