TypeError: Cannot read properties of undefined (reading 'replace')

controlsat last year

When I select the icon or badge from the list, I get this error. Any ideas?

TypeError: Cannot read properties of undefined (reading 'replace')
    at d2 (ht3.:8082/assets/index-BdbJhsa0.js:239:29222)
    at nL (113.:8082/assets/index-BdbJhsa0.js:38:17031)
    at gK (ht.113.:8082/assets/index-BdbJhsa0.js:40:44104)
    at mK (h113.:8082/assets/index-BdbJhsa0.js:40:39822)
    at Wne (ht.113.:8082/assets/index-BdbJhsa0.js:40:39748)
    at SM (h8.113.:8082/assets/index-BdbJhsa0.js:40:39598)
    at V1 (h48.113.:8082/assets/index-BdbJhsa0.js:40:35960)
    at MB (ht113.:8082/assets/index-BdbJhsa0.js:40:36765)
    at Ap (h8082/assets/index-BdbJhsa0.js:38:3288)
    at h4.:8082/assets/index-BdbJhsa0.js:40:34286
Anton Tananaev last year

Are you using the latest official release without any code modifications?

controlsat last year

I am using official version 6.6 without code modification except traccar.xml to work with mariadb.

Anton Tananaev last year

My guess would be that you have invalid navigationAppLink set.

controlsat last year

to close the case; the problem was with the database.

Anton Tananaev last year

What was the problem with the database?

DanylovVG last year

when i'm update, this error check too

TypeError: Cannot read properties of undefined (reading 'replace')

DanylovVG last year

error in old db, make new and all working

Luis Lepe last year

You where right Anton, I had the same problem yesterday and I fixed it by adding the "Navigation app Link" in the server attributes.
My mistake was adding the "Navigation app title" without setting the "Navigation app Link"

Just so anyone getting this error might get an easier time than I did, I had to dig thru the code to partially understand what was happening.

Anton Tananaev last year

What was the purpose of adding one without the other?

Luis Lepe last year

A lack of knowledge.

I saw in vite.config.js that title an description where needed for the manifest so I added those and missed the navigation link configuration since it was not mentioned in that file.

Anton Tananaev last year

"Navigation app title" is not mentioned nor referenced anywhere in the vite config. It seems like you confused it with the server name or description.

https://www.traccar.org/branding-web/

Luis Lepe last year

So I did, thanks for clearing the misunderstanding.