problems with generate_cookie_policy_snapshot
-
Hello!
We’re getting quite a few php warnings every day and they all seem to relate to the function generate_cookie_policy_snapshot which is fired by a cron.
most of the warnings refer to Mpdf Cache and fonts.
/plugins/complianz-gdpr/assets/vendor/mpdf/mpdf/src/Cache.php in Mpdf\Cache::write
Warning: rename(): Cannot rename a file across wrapper types/plugins/complianz-gdpr/assets/vendor/mpdf/mpdf/src/Mpdf.php in Mpdf\Mpdf::AddFont
Warning: Trying to access array offset on value of type nullWe use a S3 bucket as CDN for the WP Uploads, and some of the errors are related to the fact that this file is missing:
/uploads/complianz/tmp/1678190064/mpdf/ttfontdata/dejavuserifcondensed.cw.dat resulted in a 404 Not Found
the subfolder /tmp is missing entirely in the CDN, we have only the complianz/css and complianz/placeholders
I’ve also just realised that the site crashes (throwing a bunch of those same errors), when I go to “Proof of consent” in admin and I click to generate one. I suppose it is the same process that is fired by the cron, isn’t it?
Do you have any suggestions?
thanks!
- The topic ‘problems with generate_cookie_policy_snapshot’ is closed to new replies.