Generating static images broken

Loading this URL


Brings up this error

A fatal error occurred

The following error just broke Matomo (v4.6.2):

Class "CpChart\Chart\Image" not found
in /app/plugins/ImageGraph/StaticGraph.php line 289            

Follow these steps to solve the issue or report it to the team:

    If you have just updated Matomo to the latest version, please try to restart your web server. This will clear the PHP opcache which may solve the problem.
    If this is the first time you see this error, please try refresh the page.
    If this error continues to happen, we appreciate if you send the error report to the Matomo team.

To try and fix, I:

  • Restarted the web serve (caddy)
  • Disabled ImageGraph (Core), and then re-enabled it.

This has been working for awhile and just broke after upgrading to 4.6.2

Seemed to resolve by itself
I grabbed the previous versions ImageGraph. It may of helped but then the original plugin worked fine too

1 Like