Error in 4.9.1 after upgrade from 4.9.0

I am still having the same issue as with 4.9.0 when attempting to “Add a new goal” from the Dashboard:

Add a new Goal

Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Matomo administrator for assistance. [See the steps to resolve this issue in the FAQ.](

WARNING: /plugins/Goals/Controller.php(145): Warning - Invalid argument supplied for foreach() - Matomo 4.9.1 - Please report this message in the Matomo forums: (please do a search first as it might have been reported already) (Module: Goals, Action: addNewGoal, In CLI mode: false)

FYI…there are currently NO goals set.

However, just as in 4.9.0, I can access this feature via “Settings >> Websites >> Goals”

Please advise.

It seems it will be fixed in version 4.10.0: