• Resolved moekify

    (@moekify)


    On the host we have PHP 7.1, iconv, mbstring, intl & allowf_url_open are enabled. I can’t find anything in any of the error_log files on wordpress nor the host.

    What else could be a reason here? Definitely using the right keys as it works in a local dev setup

    EDIT: Got it resolved, by manually adding the folder in the uploads directory

    • This topic was modified 4 years, 9 months ago by moekify.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter moekify

    (@moekify)

    I found this in one of the logs and this seems like it is the problem. How can I fix this?

    [09-May-2020 09:25:16 UTC] PHP Warning:  file_put_contents(/home2/a19092014/public_html/wordpress/wp-content/uploads/voucherpdfuploads/1589016316MzE5MzE3MjAwNTM0MDc4OQ==.pdf): failed to open stream: No such file or directory in /home2/a19092014/public_html/wordpress/wp-content/plugins/gift-voucher/vendor/setasign/fpdf/fpdf.php on line 1021
    [09-May-2020 09:25:16 UTC] PHP Fatal error:  Uncaught Exception: FPDF error: Unable to create output file: /home2/a19092014/public_html/wordpress/wp-content/uploads/voucherpdfuploads/1589016316MzE5MzE3MjAwNTM0MDc4OQ==.pdf in /home2/a19092014/public_html/wordpress/wp-content/plugins/gift-voucher/vendor/setasign/fpdf/fpdf.php:271
    Stack trace:
    #0 /home2/a19092014/public_html/wordpress/wp-content/plugins/gift-voucher/vendor/setasign/fpdf/fpdf.php(1022): FPDF->Error('Unable to creat...')
    #1 /home2/a19092014/public_html/wordpress/wp-content/plugins/gift-voucher/include/wpgv_voucher_pdf.php(94): FPDF->Output('F', '/home2/a1909201...')
    #2 /home2/a19092014/public_html/wordpress/wp-includes/class-wp-hook.php(298): wpgv__doajax_voucher_pdf_save_func('')
    #3 /home2/a19092014/public_html/wordpress/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #4 /home2/a19092014/public_html/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /home2/a19092014/public_html/wordpress/wp-admin/admin-ajax.php(101): do_action('wp_ajax_nopriv_...')
    #6  in /home2/a19092014/public_html/wordpress/wp-content/plugins/gift-voucher/vendor/setasign/fpdf/fpdf.php on line 271
    

    Hi @moekify

    I’m having issues with Paypal check out too, the gift voucher purchase process keeps looping rather than issuing a voucher by email, even though the voucher has issued in Dashboard.

    Was this the issue you were also having? If so, may I ask what folder you manually added to correct the issue?

    Thread Starter moekify

    (@moekify)

    Hey @inspirata,

    I added the /voucherpdfuploads/ folder in the uploads directory of the wordpress install.

    • This reply was modified 4 years, 8 months ago by moekify.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error Occured, Paypal Checkout’ is closed to new replies.