Warning on settings page: "Notice - compact(): Undefined variable: idGoal"


(Jason Neiss) #1

I get this on the setting page, both as admin and as my user (also an admin). I can find nothing via search or the magic google. Complete text of message:

“WARNING: /var/www/html/plugins/API/API.php(401): Notice - compact(): Undefined variable: idGoal - Matomo 3.5.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)”

Fresh install; Matomo version: 3.5.1, MySQL version: 5.5.56-MariaDB, PHP version: 7.3.0beta2.


Warning on settings page: Notice - compact(): Undefined variable: idGoal - Matomo 3.6.0
(Jason Neiss) #2

Unlike some others, my upgrade went well. However, I still see this message, presumably carried over from the previous version:

WARNING: /var/www/html/plugins/API/API.php(401): Notice - compact(): Undefined variable: idGoal - Matomo 3.6.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

I have disabled the Goals module just in case our lack of goals (heh) was causing it. (Narrator: “It wasn’t.”)


(Lukas Winkler) #3

Hi,

I have no solution, but this really sounds like a bug in Matomo, so I’d recommend you to open a Github issue:


(Jason Neiss) #4

Bug report submitted; thank you.