A fatal error occurred

{% if isAllowedToTroubleshootAsSuperUser or not isAnonymousUser %}

The following error just broke Matomo{% if showVersion %} (v{{ piwikVersion }}){% endif %}:

{{ lastError.message }}

in

{{ lastError.file }} line {{ lastError.line }}

Troubleshooting

Follow these steps to solve the issue or report it to the team:
{% endif %} {% if isAllowedToTroubleshootAsSuperUser or isSuperUser %}

Further troubleshooting

If this error continues to happen, you may be able to fix this issue by disabling one or more of the Third-Party plugins. If you don't know which plugin is causing this error, we recommend to first disable any plugin not created by "Matomo" and not created by "InnoCraft". You can enable plugin again afterwards in the Plugins or Themes page under settings at any time. {% if pluginCausesIssue %} Based on the error message, the issue is probably caused by the plugin {{ pluginCausesIssue }}. {% endif %}

{% for pluginName, plugin in plugins if plugin.uninstallable and plugin.activated %} {% endfor %}
{{ pluginName }} {{ plugin.info.version|default('') }} deactivate
{% set uninstalledPluginsFound = false %} {% for pluginName, plugin in plugins if plugin.uninstallable and not plugin.activated %} {% set uninstalledPluginsFound = true %} {% endfor %} {% if uninstalledPluginsFound %}

If this error still occurs after disabling all plugins, you might want to consider uninstalling some plugins. Keep in mind: The plugin will be completely removed from your platform.

{% for pluginName, plugin in plugins if plugin.uninstallable and not plugin.activated %} {% endfor %}
{{ pluginName }} uninstall
{% endif %} {% elseif isAnonymousUser %}

Please contact the system administrator, or login to Matomo to learn more.

{% else %}

If this error continues to happen you may want to send an error report to your system administrator.

{% endif %} {% if not isAllowedToTroubleshootAsSuperUser and not isSuperUser %}

If you are Super User, but cannot login because of this error, you can still troubleshoot further. Follow these steps:
1) open the config/config.ini.php file and look for the salt value under [General].
2) edit this current URL you are viewing and add the following text (replacing salt_value_from_config by the salt value from the config file):

index.php?i_am_super_user=salt_value_from_config&....

{% endif %}