Plugin crashes with exception if Matomo returns empty array
p-weisk opened this issue · 2 comments
p-weisk commented
Whenever the Matomo server returns an empty array, the plugin crashes with an Exception caused by a Notice: Undefined index
due to accessing nonexistent array entries.
The code in Classes/Domain/Dto only checks if the result is an array, but not if the array keys it tries to access exist.
Sebobo commented
Thanks, can you provide a PR?