-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Context
Coming back to view the dashboard after a day without any new visits, I see two PHP warnings.
Expected Behavior
No warning displayed.
Current Behavior
Two instances of the warning appear when no data/goals for the movers/shakers widget, one for getPageTitles
action and one for getPageUrls
action.
WARNING: /plugins/Goals/DataTable/Filter/CalculateConversionPageRate.php(112): Warning - Trying to access array offset on value of type float - Matomo 5.0.0-b1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: API, Action: getOverallMoversAndShakers, Method: Actions.getPageUrls, In CLI mode: false)
WARNING: /plugins/Goals/DataTable/Filter/CalculateConversionPageRate.php(112): Warning - Trying to access array offset on value of type float - Matomo 5.0.0-b1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: API, Action: getOverallMoversAndShakers, Method: Actions.getPageTitles, In CLI mode: false)
Steps to Reproduce (for Bugs)
- Establish a fresh Matomo instance
- Use the Visits Generator to generate some visits
- Wait a day (I realise this is not a super-feasible/fast reproduction step, sorry)
- Observe the error in a fresh session (as it disappears on page refresh)
Your Environment
- Matomo Version: 5.0.0-b1
- PHP Version: 8.1.18
- Server Operating System: MacOS
- Additionally installed plugins:
- Browser: Brave
- Operating System: MacOS