mouli90 Posted January 15, 2019 Share Posted January 15, 2019 (edited) Hello, I would like to ask for a bit of help with one issue I have found out when making an order and followingly generating an invoice. Everything works fine in BO but when I want to download the PDF invoice as a customer in My Account section I get 500. When switching the debug mode on this is what I see: (1/1) FatalThrowableError Call to a member function getInvoicesCollection() on null in PdfInvoiceController.php line 69 at PdfInvoiceControllerCore->display()in Controller.php line 301 at ControllerCore->run()in Dispatcher.php line 509 at DispatcherCore->dispatch()in index.php line 28 Any help is appreciated. Thanks in advance! Jan p.s. I am using PS version 1.7.5, running on PHP 7 Edited January 16, 2019 by mouli90 (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted January 21, 2019 Share Posted January 21, 2019 There is no order in the PdfInvoiceController.php controller in your case so it could be caused by an override or so. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now