-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Matomo compatible with PHP 7.4 #14821
Comments
One more bug that breaks archiving: (appears as a response in archiving)
matomo/libs/upgradephp/upgrade.php Line 180 in 7ef8926
I don't know what that line means, but I am also confused why this function is here when Matomo is using a custom ini parser. Update: It seems to just be a weird way of writing |
One more warning in the log:
matomo/core/DataTable/Filter/ColumnDelete.php Line 164 in b16a791
|
Another occurrence of the braces will be fixed with leafo/lessphp#647 (if it gets merged as the last release was 5 years ago) Update: This one is going to be fun to fix as the latest lessphp requires PHP 5.6+: leafo/lessphp@18b8f29 |
Two more deprecation warnings in tcpdf will be fixed with |
Another potential bug (but I don't think it happens in Matomo and is only very minor): |
@Findus23 Thanks for creating the issue! 👍 What is the status of PHP 7.4 compatibility now? |
@mattab I think all remaining issues are in third party libraries as mentioned above. And Matomo won't be completly ususable as of now. |
Looks like the only package that needs to be updated is lessphp, but that does not have a release w/ the fix. I suppose we could fork it as well or wait until matomo 4. |
We'd need to fork it in this case since we can't wait to Matomo 4 unfortunately. |
similar to #13418
Status:
All Warnings in Matomo itself and the broken Twig rendering are fixed in Matomo 3.12. All remaining warnings depend on third-party libraries (see below).
Soon PHP 7.4 will be released (RC 1 is planned or September 5th), so it would be great if Matomo would work mostly fine when it is released.
I set up a Matomo instance using the latest beta4 at https://matomo-beta.lw1.at
If you want to get access, just message me.
Current status is that Matomo is nearly completly unusable as it renders invalid HTML with missing whitespaces:
This seem to be caused by a required change in Twig (twigphp/Twig@1fb0f97), so updating to twig 1.41.0 or later should solve this.
The text was updated successfully, but these errors were encountered: