-
-
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
Uncaught exception when sending or downloading scheduled reports #18499
Comments
@Starker3 Do you know if the data that would be included in the report might contain some special unicode characters, like emojis or similar? |
I'll check with the user @sgiehl |
We have the same error when generating PDF-Reports, and only then:
We are using the official docker-image (Apache) version 4.6.2. It is quite likely that unicode charachters are involved. The string in question is most likely If you need any more information, please do not hesitate to ask. |
This might be related to tecnickcom/TCPDF#464. |
We have the same issue in production. Below stack trace: I see there is a
|
FYI - Never got confirmation from the end-user if they had special unicode characters (Eg. Emoji, etc) |
@tsteur just confirm the version number for TCPDF and PHP, they fix some issue, I think our issue is related to |
We're using the latest Matomo 4.6.2 and PHP 8. Not sure what version of TCPDF was included in 4.6.2 @peterhashair |
@peterhashair @tsteur As mentioned above, this is most likely related to tecnickcom/TCPDF#464 |
@sgiehl can we fork this repository and apply the fix or so? We have emails failing every day about this for few accounts meaning it's quite a big issue that scheduled reports aren't working |
There is not yet a fix for that. But I can try to reproduce that locally tomorrow and see if I'm able to provide one. I guess simply suppressing the error might result in some missing text in the PDF. Also I wonder how that error actually occurs. It might mean that regex doesn't support unicode on that system maybe, or that the string contains a character that isn't valid unicode... |
Turns our this was actually unrelated to TCPDF. Will propose a fix for that soon. |
Refs L3-194
We have a user with 4 different Matomo servers, only one of them has this issue.
They are able to get the reports downloaded or sent when using just a "Day" period, but any other period such as week or month results in the above error.
So for example the following scheduled reports fail:
And the following one does work:
Full error output:
Your Environment
The text was updated successfully, but these errors were encountered: