Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Prevent possible error when goal deleted. #12395
Should prevent an error like this:
The visitor log / profile fetches currently all goal conversions and does check whether a goal still exists so not sure why it is needed (in https://github.com/piwik/piwik/blob/3.3.0-b1/plugins/Goals/VisitorDetails.php#L67 ). Where this happened the goal actually exists but the other first 3 goals are deleted.
Here is some output from visitor data and idGoal 4 is definitely set in
It seems to cause an error when there is also an ecommerce action like here where I printed also
Actually: This does not fix the problem because it would never show any entry as