1

When in development mode I can create pdf invoices just fine but when in production mode I get an error.

Under sales > Invoices I'm clicking the "Print" button to get a pdf of a invoice (see link)

pdf invoice

It now says: There has been an error processing your request

Warning: strspn() expects parameter 1 to be string, object given in /home/dragoni5/public_html/vendor/magento/zendframework1/library/Zend/Pdf/StringParser.php on line 162

I'd really appreciate any feedback on this.

  • did you used any custom module for your sales? – Edwin Widhiyanto May 6 at 7:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.