Multiple error messages about non-numeric value encountered

I would report these error messages on my first installation of on-premise Matomo on Ubuntu 20

WARNING: /plugins/GoogleAnalyticsImporter/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php(16): Warning - A non-numeric value encountered - Matomo 4.11.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: UsersManager, Action: addNewToken, In CLI mode: false)

×

WARNING: /vendor/phpmailer/phpmailer/src/PHPMailer.php(861): Warning - A non-numeric value encountered - Matomo 4.11.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: UsersManager, Action: addNewToken, In CLI mode: false)

Hi @Alberto_Olivucci
Where did you see these errors? In the Matomo UI? In some HTTP response messages? In the Matomo log file?
Also, what is your version of PHP?

I can see this errore message in every page of Matomo UI
WARNING: /plugins/GoogleAnalyticsImporter/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php(16): Warning - A non-numeric value encountered - Matomo 4.11.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: IP2Location, Action: config, In CLI mode: false)
the PHP version is 7.4.3 Apache2 server

Then can you check on the Matomo error file if there is more details on this error?

Very interesting: I changed the PHP script execution mode from FCGId to FPM and error has ceased

this is the apache error log
[Thu Sep 15 09:47:09.534228 2022] [fcgid:warn] [pid 967840:tid 140483976210176] [client xx.xx.xxx.xxx:58082] mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /home/matomo/plugins/GoogleAnalyticsImporter/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php on line 16, referer: https://

1 Like

Great. (But I don’t understand why FCGI has this behavior…)