Fix for undefined array index error when rendering sparklines #19275
Labels
Regression
Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone
CoreVisualizations - [Warning] Undefined index CoreVisualizations/Visualizations/Sparklines.php(292)
Expected Behavior
Should handle such undefined index in the code
Current Behavior
Just noticed this, when trying to debug a bug for other plugin there are too many warnings of undefined index in
CoreVisualizations/Visualizations/Sparklines.php(292)
To reproduce the error, access Matomo dashboard and tail matomo.log -
tail -f /var/www/html/work/matomo/tmp/logs/matomo.log | grep -i Warning
You will see following warning in the log file
Sample Error message
Possible Solution
Steps to Reproduce (for Bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: