matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.68k stars 2.62k forks source link

[Bug] #22608

Closed enual closed 1 day ago

enual commented 1 day ago

What happened?

A user has experienced a fatal error in Matomo after installing Bot tracker, and clicked the link in the error to get the message emailed to us.

Here is the error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/matomo/plugins/BotTracker/Controller.php 23 using PHP 7.2.26-1+ubuntu16.04.1+deb.sury.org+1

What should happen?

na

How can this be reproduced?

na

Matomo version

5.1.1

PHP version

7.2.26

Server operating system

Ubuntu 16.04.1

What browsers are you seeing the problem on?

Chrome

Computer operating system

Windows

Relevant log output

No response

Validations

michalkleiner commented 1 day ago

Hi @enual, it looks like there might be a bug in the Bot Tracker plugin itself. It would be best to report the issue in the plugin's issue tracker at https://github.com/Digitalist-Open-Cloud/Matomo-Plugin-BotTracker as this is not a Matomo plugin.