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!
After update PHP from 8.2 to 8.3 I got an error for my cronjob for archiving.
The error message after testing by ssh is:
INFO [2024-11-13 11:45:05] 3013066 'Got invalid response from API request:
mydomain.info/piwik/?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-11-12&format=json&trigger=archivephp&.
Response was \'Missing scheme in given url\''
ERROR [2024-11-13 11:45:05] 3013066 Error unserializing the following response from
?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-11-12&format=json&trigger=archivephp:
'Got invalid response from API request: mydomain.info/piwik/?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-11-12&format=json&trigger=archivephp&.
Response was 'Missing scheme in given url''
And 43 other error messages, but they seem all in the same style.
What can be the reason for “missing scheme giving in url”? When I turn back to 8.2 the error I there not anymore.
At the end, the conclusion is:
In CronArchive.php line 648:
44 total errors during this script execution,
please investigate and try and fix these errors.
What happened?
After update PHP from 8.2 to 8.3 I got an error for my cronjob for archiving.
The error message after testing by ssh is:
And 43 other error messages, but they seem all in the same style.
What can be the reason for “missing scheme giving in url”? When I turn back to 8.2 the error I there not anymore.
At the end, the conclusion is:
How to investigate and fix the errors?
Is Matomo ready for PHP 8.3?
See also: https://forum.matomo.org/t/cronjob-error-after-update-php-from-8-2-to-8-3/61307
What should happen?
no errors.
How can this be reproduced?
see above
Matomo version
5.1.2
PHP version
No response
Server operating system
No response
What browsers are you seeing the problem on?
No response
Computer operating system
No response
Relevant log output
No response
Validations