• Resolved JP FLY

    (@jpvanderlugt)


    Hi, I updated my website from PHP 7.4 to PHP 8.3. I am using Booster Plus 7.2.3.
    During the woocommerce order process at the frontend, the pdf is created and added to the email. But now I cannot view the pdf invoice or packing slip in the admin backend anymore. The file is corrupt and can not be opened.
    When I revert back to PHP 7.4 the pdf is created properly in the backend.
    How can we solve this?

    Thanks JP

Viewing 1 replies (of 1 total)
  • Plugin Support David G

    (@gravid7)

    Hi @jpvanderlugt,

    Thanks for your message.

    PDF invoices cannot be opened properly on some servers due to an error log conflict. So added below code on you wp-config.php. The query plugin also follows this method. that’s why it was working when you activate it.

    @ini_set( ‘log_errors’, ‘On’ );
    @ini_set( ‘display_errors’, ‘Off’ );
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.