• Resolved jansudek

    (@jansudek)


    Hello, complianz have some fatal error while set up wizard .. not even create folder /wp-content/uploads/complianz/snapshots/ BUT folder /wp-content/uploads/complianz/ exists .. can you fix that error ?

    Complianz  v7.0.4

    Warning fopen(/wp-content/uploads/complianz/snapshots/name-of-website-eu-proof-of-consent-27-4.-2024.pdf): failed to open stream: No such file or directory in file /wp-content/plugins/complianz-gdpr/assets/vendor/mpdf/mpdf/src/Mpdf.php on line 9641
    
    PHP Fatal error:  Uncaught Mpdf\MpdfException: Unable to create output file /wp-content/uploads/complianz/snapshots/name-of-website-eu-proof-of-consent-27-4.-2024.pdf in /wp-content/plugins/complianz-gdpr/assets/vendor/mpdf/mpdf/src/Mpdf.php:9644
    Stack trace:
    #0 /wp-content/plugins/complianz-gdpr/documents/class-document.php(1900): Mpdf\Mpdf->Output()
    #1 /wp-content/plugins/complianz-gdpr/proof-of-consent/class-proof-of-consent.php(293): cmplz_document->generate_pdf()
    #2 /wp-includes/class-wp-hook.php(324): cmplz_proof_of_consent->generate_cookie_policy_snapshot()
    #3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #4 /wp-includes/plugin.php(565): WP_Hook->do_action()
    #5 /wp-cron.php(191): do_action_ref_array()
    #6 {main}
      thrown in /wp-content/plugins/complianz-gdpr/assets/vendor/mpdf/mpdf/src/Mpdf.php on line 9644
Viewing 1 replies (of 1 total)
  • Plugin Support leonardoiub

    (@leonardotamion)

    Hello,

    thanks for your message.

    It seems more likely that the plugin MPDF was unable to write a file to this location “/wp-content/uploads/complianz/snapshots/” on their server, e.g. due to insufficient folder permissions or some other restriction. You can follow this guide to solve the issue:?https://complianz.io/folder-permissions/.

Viewing 1 replies (of 1 total)
  • The topic ‘Mpdf\MpdfException: Unable to create output file’ is closed to new replies.