Since I updated to 3.13.2 I get the following message when I open the Administration tab:
WARNING: /var/www/matomo/core/Http.php(538): Notice - Trying to access array offset on value of type null - Matomo 3.13.4 - 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: Installation, Action: systemCheckPage, In CLI mode: false)
I am currently running at 3.13.4.
Also, my crontab for archiving doesn't work. I set it up as described in the documentation: https://matomo.org/docs/setup-auto-archiving/
Could that be linked to the warning message?
I appreciate your help. Thanks in advance!
Thanks for reporting this @Tim197 Very appreciated. Seems you're not getting a response from an HTTP request, and at the same time PHP doesn't give us an error which seems rather unusual. I supposed we'd need to trigger a generic error message there instead when this happens. There is definitely a bug in there.
The code hasn't been changed there in many years though. It might indicate something changed on your server or environment, or on the server the script is trying to reach.
Hello I get this similar error
MYSERVERPATH/matomo/core/Http.php(538): Notice - Trying to access array offset on value of type null - Matomo 3.14.1 - 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: Installation, Action: getSystemCheck, In CLI mode: false)
since my Lets encrypt ssl certificate expired. My hoster tries to renew it. Hopefully it will work again. Perhaps this information helps for the bug research.
@Tim197 I solved the problem by installing php-curl
sudo apt-get install php-curl sudo systemctl restart apache2.service
This fixes the problem for me
The same issue was reported in https://forum.matomo.org/t/warning-message-on-new-installation/39557
For whatever reason, when Matomo tries to make a HTTP request (e.g. to fetch data from the marketplace), it gets back an empty response.
Matomo then tries to display an error message with the last error that occured, but there is no error (which causes the warning you see).
You can try to install php-curl as then Matomo uses that instead of the fopen-based method and it circumvents this issue. Or you could try to find out why your server can’t do HTTP requests in PHP.
In PHP7x, error_get_last() doesn't work, when we override the error handler manually (set_error_handler), that catches the error/behaves differently. Probably a generic message would be best!