Where can I find the “getCurrentHost”? cant find it
“grep” is your friend.
As stated in ticket 1961 the solution may not work because the HOSTNAME is still not picked up. You can follow Reports do not send whilst set to a daily basis · Issue #1961 · matomo-org/matomo · GitHub if you need another solution.