1.5.4 - Error 500 for client form

I cant acces some parts of invoice plane, add clients is one of them, but i have troubles with another ones like the admin panel or payments.

My logs show no aparent error…

<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

DEBUG - 2017-09-04 11:13:22 --> UTF-8 Support Enabled
DEBUG - 2017-09-04 11:13:22 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2017-09-04 11:13:22 --> Clients MX_Controller Initialized
DEBUG - 2017-09-04 11:13:22 --> Config file loaded: /var/www/clients/client220/web322/web/ip/application/config/invoice_plane.php
DEBUG - 2017-09-04 11:13:22 --> Encryption: Auto-configured driver ‘openssl’.
DEBUG - 2017-09-04 11:13:22 --> File loaded: /var/www/clients/client220/web322/web/ip/application/modules/settings/models/Mdl_settings.php
DEBUG - 2017-09-04 11:13:22 --> File loaded: /var/www/clients/client220/web322/web/ip/application/controllers/…/modules/layout/controllers/Layout.php
DEBUG - 2017-09-04 11:13:22 --> Layout MX_Controller Initialized
DEBUG - 2017-09-04 11:13:22 --> File loaded: /var/www/clients/client220/web322/web/ip/application/modules/clients/models/Mdl_clients.php

(when i try to create a new client)

So i have no clue about it.
Thank you

Same error here, same subfolder as well (ip), logs do not send any errors.

DEBUG - 2017-09-04 11:27:35 --> UTF-8 Support Enabled
DEBUG - 2017-09-04 11:27:35 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2017-09-04 11:27:35 --> Dashboard MX_Controller Initialized
DEBUG - 2017-09-04 11:27:35 --> Config file loaded: /home/n20okt1q/jdomain.nl/ip/application/config/invoice_plane.php
DEBUG - 2017-09-04 11:27:35 --> Encryption: Auto-configured driver ‘openssl’.
DEBUG - 2017-09-04 11:27:35 --> File loaded: /home/n20okt1q/jdomain.nl/ip/application/modules/settings/models/Mdl_settings.php

75 - - [04/Sep/2017:11:27:33 +0200] “GET /ip/index.php/clients/form HTTP/1.1” 500 - “http://www.jdomain.nl/ip/index.php/dashboard” "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
145.131.87.75 - - [04/Sep/2017:11:27:34 +0200] “GET /ip/index.php/clients/form HTTP/1.1” 500 - “http://www.jdomain.nl/ip/index.php/dashboard” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36”

downgraded to 1.5.3 and have no issues at-all

yup, i downgraded, the issue is gone! thank you very much. Still if someone knows why this happens i’m really curious

Could someone with that bug post the PHP logs (not the InvoicePlane and not the Apache logs)?
I do not have any problems with the client form.

It seems the problem I had in other topic (1.5.4 ‘Page can’t be found’ error on multiple links) is similar, however I am getting 404 error (HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier) - that’s from the browser.

Where can I find PHP logs?

Every time I am getting error page, a line like that gets added to the log in the error_log file in main invoiceplane folder:

[04-Sep-2017 17:32:46 UTC] PHP Fatal error: Cannot use [ ] for reading in /home/admin/public_html/invoice/application/modules/custom_fields/models/Mdl_custom_fields.php on line 257

See InvoicePlane 1.5.4 released