Skip to content

When a fatal error is issued within a popover, show message instead of "forever loading" #13951

@mattab

Description

@mattab

It would be valuable for users that when PHP or Matomo fails and return fatal error, that we somehow manage to show this error message in the popovers as well...

To reproduce:

  • Open a report with row evolution feature
  • Introduce a fatal error in the code (or lower memory setting to cause PHP to fail)
  • Click on Row Evolution icon
  • Got: the popover for Row Evolution shows "Loading Row Evolution..." forever, and likely a JavaScript error in the browser console such as TypeError: self.datatable is null
  • Expected instead: The popover for Row Evolution should show the error message in red like this and ask to contact support/ask in forums (we have links to Forums/Support in the fatal error notifications already in Matomo so be great to reuse those)

Metadata

Metadata

Assignees

Labels

EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.c: PlatformFor Matomo platform changes that aren't impacting any of our APIs but improve the core itself.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions