Laravel [ErrorException] Invalid characters passed for attempted conversion, these have been ignored Script php artisan optimize handling the post install cmd event returned with error code 1

July 14, 2021 . 1 MIN READ

Upgrading the dompdf/dompdf to version 0.8.5 will solve this issue: https://github.com/dompdf/dompdf/releases

Installing the latest version can be done with:

composer require dompdf/dompdf

or modifying composer.json manually to 0.8.5 and running:

composer install

Keep in mind this upgrade may contain breaking changes

Leave a Reply

Your email address will not be published. Required fields are marked *