Quote Originally Posted by Brent View Post
Thank you that solved the issue.

To test I removed my admin IP so it would be tracked. On deleting the record this then highlighted another warning.

PHP Code:
[31-Jan-2021 00:40:26 UTCRequest URI: /ADMIN/index.php?cmd=user_trackingIP addressxxx.xxx.xxx.xxx
#1 require(../ADMIN/user_tracking.php) called at [../ADMIN/index.php:11]
--> PHP Warning: Use of undefined constant TEXT_HAS_BEEN_DELETED assumed 'TEXT_HAS_BEEN_DELETED' (this will throw an Error in a future version of PHPin ../ADMIN/user_tracking.php on line 267. 
Line 267
PHP Code:
    $deleted_session_text $_POST['delsession'] . TEXT_HAS_BEEN_DELETED ' has been deleted. <br />'
Despite excluding my admin address it is now still being tracked. When I delete I get

Also there doesn't seem to be a define for TEXT_HAS_BEEN_DELETED in the language file?
Quote Originally Posted by mc12345678 View Post
If I understand correctly there's basically one issue in the above: incomplete attempt to move hard-coded text to a language definition.

I know that my plan was to change the way that line was generated by using sprintf to plug in the content into the text. I had a couple of reasons to do that, one was to allow other css to be easily incorporated (although possibly in the language define) the other was so that the applicable deleted item could be placed in the language statement as appropriate for the language.

I'll prep a solution (commit) and post the link to it shortly.
Huh, thought this had been posted several hours ago, which is the/a solution to the issue described as well as how that text was double combined rather than made into two separate and unique defines:

Remove hardcoded text to define. · mc12345678/User_Tracking@7d35921 (github.com)