• With 3.3.1 running under WP 6.1.1, WC 7.3.0, I am getting the following in the plugin error log (paths truncated for brevity):

    Argument 1 passed to Dompdf\FrameReflower\Text::layout_line() must be an instance of Dompdf\FrameDecorator\Block, null given, called in <path>\woocommerce-pdf-invoices-packing-slips\vendor\dompdf\dompdf\src\FrameReflower\Text.php on line 400 (<path>\woocommerce-pdf-invoices-packing-slips\vendor\dompdf\dompdf\src\FrameReflower\Text.php:269)

    The server (self-hosted on OS/2) is running PHP 7.4.32.

    TIA

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @lewisr,

    Are you using our default Simple template or a custom template instead? If this latter, please try switching temporarily to Simple, and try again.

    Thread Starter Lewis Rosenthal

    (@lewisr)

    Thanks, Yordan.

    Indeed, we are using the default Simple template. I’m wondering if the process could be running OOM and we are simply not able to complete the generation (and giving up). I have 256MB set as the memory limit, and what seems like plenty of time per script (30 secs). I’m not seeing OOM reports in the php error log, though.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for confirming that you are using the Simple template, Lewis.

    Could you check the WooCommerce logs to see if there are errors with the wpo-wcpdf or fatal-errors prefix? If so, please share the logs with us. You’ll find the logs under WooCommerce > Status > Logs. See Where to find error logs

    Also, go to WooCommerce > Status > System Status, click on Get system report, then click on Copy for support, and finally paste it in a text file for then attach it here.

    Thread Starter Lewis Rosenthal

    (@lewisr)

    Thanks for following up.

    No fatal-errors logs, but the error I first mentioned is listed in wpo-wcpdf* logs (that is the only error, and it is listed once for every attempt to generate a PDF).

    I’m not sure how to attach a text file (the status report) here. I can paste into a code block, of course. Is that what you meant? Please advise.

    If you’d still like the wpo-wcpdf log from yesterday, I can put that on our FTP server for you, but as I say, the only entries are the ones which match what I listed at the beginning of this thread.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for providing more details, Lewis.

    I think the system report is enough for now. You can paste it on https://pastebin.com/ (set a paste expiration for one week, just in case), and finally paste the pastebin.com link in your reply here.

    Thread Starter Lewis Rosenthal

    (@lewisr)

    Pastebin… Now why didn’t I think of that? LOL

    https://pastebin.com/adNgYbTS

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for providing your system report, @lewisr.

    I have realized that you have the Professional extension installed, so we can provide you with premium support.

    However, WordPress.org does not allow us to provide you with support for paid plugins in these forums. Please contact us by support@wpovernight.com, so we can continue with the help there.

    Thread Starter Lewis Rosenthal

    (@lewisr)

    Thanks, Yordan. Email sent, with reference to this thread.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks, @lewisr!

    I just saw your email. Let’s continue the conversation there 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Failure to generate PDFs’ is closed to new replies.