Hi @asocalguy,
I’m sorry that keeps happening, that has to be frustrating. 🙁
I’m wondering if you have any security-type plugins that are potentially removing the files from the font folder?
For more technical users
We have this piece of code that runs on every update for the fonts, syncing &/or initializing the fonts:
https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/blob/v2.8.2/includes/class-wcpdf-install.php#L193-L207
We use iThemes Security but I don’t see how that would be removing files from the fonts folder. Particularly since this only started happening recently after running both their plugin and yours concurrently for probably a couple years at this point. Plus it’s a popular plugin. Are you aware of any incompatibility between your plugin and theirs?
Plugin Contributor
Ewout
(@pomegranate)
We are not aware of any incompatibilities between our plugin and iThemes Security, but without being able to replicate this issue on our end, it’s a bit difficult to debug. Our current hypothesis is that this would either happen
- when the plugin is updated and something doesn’t work correctly in the font update process (the fonts are stored separately in the
wp-content folder)
- due to a third party plugin or other process, the fonts are removed from the folder
If it’s no. 1, you would see this happening only directly after updating the plugin (such as today’s 2.8.3 update).
If it’s no. 2, that could be at any time this happens.
To be able to resolve this issue (preventing from happening in the first place), it would help to know when it happens (mainly to see if it’s perhaps number 1.), and if it happens, it would help to know the ‘current status’ of the fonts folder. The fonts are located under in wp-content/uploads/wpo_wcpdf_xxxxx/fonts were xxxxx is a random string (depending on your specific setup, this random string may not be there at all, in that case it would be just wpo_wcpdf).
If you can take a snapshot showing the files in that folder when the overlapping text happens again, hopefully that would tell us if specific files are missing (and if so, which files).
Hello @asocalguy,
Since we haven’t heard back from you in the last two weeks, we’re assuming you found a fix, so I’ll go ahead and mark this ticket as Resolved.
Feel free to open a new topic if you have any more questions!