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)
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.