I have upgraded a site to 1.4.9 and when I try to access a PDF of an invoice I get a 500 error, with the site set to development mode this message is displayed:
Severity: Warning
Message: require_once(/home/ip/sites/default/vendor/mpdf/mpdf/mpdf.php): failed to open stream: No such file or directory
Filename: helpers/mpdf_helper.php
Line Number: 30
Line 30 of application/helpers/mpdf_helper.php contains:
No, sorry. But running composer require mpdf/mpdf 6.1.0 is completely wrong. There already is a composer.json with all requirements you need. Please delete the vendor directory and simply run composer install.
Thank you, have done, the vendor directory was recreated when composer install was run, is this to be expected (sorry haven’t really used composer for installing software libraries before).
The Undefined property: stdClass::$invoice_item_total error seems to be a missing or wrong variable inside the public/InvoicePlane_Web.php template. Does the view still works?