View invoice error after upgrade from 1.4.9 to 1.5.4

I’ve updated from 1.4.9 to 1.5.4, installing each version between one by one so I didn’t miss the peculiarities of 1.5.0/1.

Now, when I try to view an invoice, old or new, I receive an error. The error is not very helpful as it says a connection timeout but it appears within 1 second so I believe this error message is a default from the shared host that our site is on.

Below is my log.

Any help would be much appreciated.


I get 502 errors when I try to view invoices too.
I’m on a VPS.

ERROR - 2017-10-26 09:46:00 --> Severity: Compile Error --> Cannot use [] for reading /home/domain/public_html/invoiceplane/application/modules/custom_fields/models/Mdl_custom_fi$

Guys this issue has been mention loads of time in the community, please search the forum before posting.

The error Cannot use for reading is related versions of php earlier than 7.0.

Follow the instructions in this post or upgrade php. All details are in this post: InvoicePlane 1.5.4 released

Thanks. That fix worked great.