IP 1.5.7 refresh for deleting an item in an invoice

A little bug, this 1.5.7 version is good for delete invoice but for delete an item, i just have to refresh (F5) to have done.

Thanks for your work !

It’s not hurry to repair this one.

Could you enable the Debug Mode and post the output of the browser console after deleting an item? Because IP should remove the row of the item if it was deleted for the invoice.

Is this ? active when i delete item.

ERROR - 2018-02-19 09:06:42 --> Severity: Notice --> Trying to get property of non-object /home/techinfom/www/gestionv2/application/modules/invoices/controllers/Ajax.php 473
ERROR - 2018-02-19 09:06:47 --> Severity: Notice --> Trying to get property of non-object /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_item_amounts.php 32
ERROR - 2018-02-19 09:06:47 --> Severity: Notice --> Trying to get property of non-object /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_item_amounts.php 32
ERROR - 2018-02-19 09:06:47 --> Severity: Notice --> Trying to get property of non-object /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_item_amounts.php 33
ERROR - 2018-02-19 09:06:47 --> Severity: Notice --> Trying to get property of non-object /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_item_amounts.php 34
ERROR - 2018-02-19 09:06:47 --> Severity: Notice --> Trying to get property of non-object /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_item_amounts.php 34
DEBUG - 2018-02-19 09:07:35 --> UTF-8 Support Enabled
DEBUG - 2018-02-19 09:07:35 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2018-02-19 09:07:35 --> Invoices MX_Controller Initialized
DEBUG - 2018-02-19 09:07:35 --> Config file loaded: /home/techinfom/www/gestionv2/application/config/invoice_plane.php
DEBUG - 2018-02-19 09:07:35 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_settings.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_versions.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/controllers/../modules/layout/controllers/Layout.php
DEBUG - 2018-02-19 09:07:35 --> Layout MX_Controller Initialized
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_invoices.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_items.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/tax_rates/models/Mdl_tax_rates.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/payment_methods/models/Mdl_payment_methods.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_invoice_tax_rates.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/custom_fields/models/Mdl_custom_fields.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/units/models/Mdl_units.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/controllers/../modules/payments/controllers/Payments.php
DEBUG - 2018-02-19 09:07:35 --> Payments MX_Controller Initialized
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/payments/models/Mdl_payments.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/custom_values/models/Mdl_custom_values.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/custom_fields/models/Mdl_invoice_custom.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/views/modal_delete_invoice.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/views/modal_add_invoice_tax.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/payments/views/modal_add_payment.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/alerts.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/clients/views/partial_client_address.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/views/partial_item_table.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/upload/views/dropzone-invoice-html.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/upload/views/dropzone-invoice-scripts.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/views/view.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/head.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/navbar.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/fullpage-loader.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/layout.php
DEBUG - 2018-02-19 09:07:35 --> Total execution time: 0.0974
DEBUG - 2018-02-19 09:07:35 --> UTF-8 Support Enabled
DEBUG - 2018-02-19 09:07:35 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2018-02-19 09:07:35 --> Upload MX_Controller Initialized
DEBUG - 2018-02-19 09:07:35 --> Config file loaded: /home/techinfom/www/gestionv2/application/config/invoice_plane.php
DEBUG - 2018-02-19 09:07:35 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_settings.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_versions.php
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/controllers/../modules/layout/controllers/Layout.php
DEBUG - 2018-02-19 09:07:35 --> Layout MX_Controller Initialized
DEBUG - 2018-02-19 09:07:35 --> File loaded: /home/techinfom/www/gestionv2/application/modules/upload/models/Mdl_uploads.php
DEBUG - 2018-02-19 09:07:35 --> Total execution time: 0.0145
DEBUG - 2018-02-19 09:07:38 --> UTF-8 Support Enabled
DEBUG - 2018-02-19 09:07:38 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2018-02-19 09:07:38 --> Ajax MX_Controller Initialized
DEBUG - 2018-02-19 09:07:38 --> Config file loaded: /home/techinfom/www/gestionv2/application/config/invoice_plane.php
DEBUG - 2018-02-19 09:07:38 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2018-02-19 09:07:38 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_settings.php
DEBUG - 2018-02-19 09:07:38 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_versions.php
DEBUG - 2018-02-19 09:07:38 --> File loaded: /home/techinfom/www/gestionv2/application/controllers/../modules/layout/controllers/Layout.php
DEBUG - 2018-02-19 09:07:38 --> Layout MX_Controller Initialized
DEBUG - 2018-02-19 09:07:38 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_invoices.php
DEBUG - 2018-02-19 09:07:38 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_items.php
DEBUG - 2018-02-19 09:07:38 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_invoice_amounts.php
DEBUG - 2018-02-19 09:07:38 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_invoice_tax_rates.php
ERROR - 2018-02-19 09:07:38 --> Severity: Notice --> Trying to get property of non-object /home/techinfom/www/gestionv2/application/modules/invoices/controllers/Ajax.php 473
DEBUG - 2018-02-19 09:07:38 --> Total execution time: 0.0241
DEBUG - 2018-02-19 09:07:43 --> UTF-8 Support Enabled
DEBUG - 2018-02-19 09:07:43 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2018-02-19 09:07:43 --> Invoices MX_Controller Initialized
DEBUG - 2018-02-19 09:07:43 --> Config file loaded: /home/techinfom/www/gestionv2/application/config/invoice_plane.php
DEBUG - 2018-02-19 09:07:43 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_settings.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_versions.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/controllers/../modules/layout/controllers/Layout.php
DEBUG - 2018-02-19 09:07:43 --> Layout MX_Controller Initialized
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_invoices.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_items.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/tax_rates/models/Mdl_tax_rates.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/payment_methods/models/Mdl_payment_methods.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_invoice_tax_rates.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/custom_fields/models/Mdl_custom_fields.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/units/models/Mdl_units.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/controllers/../modules/payments/controllers/Payments.php
DEBUG - 2018-02-19 09:07:43 --> Payments MX_Controller Initialized
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/payments/models/Mdl_payments.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/custom_values/models/Mdl_custom_values.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/custom_fields/models/Mdl_invoice_custom.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/views/modal_delete_invoice.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/views/modal_add_invoice_tax.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/payments/views/modal_add_payment.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/alerts.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/clients/views/partial_client_address.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/views/partial_item_table.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/upload/views/dropzone-invoice-html.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/upload/views/dropzone-invoice-scripts.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/views/view.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/head.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/navbar.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/fullpage-loader.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/layout.php
DEBUG - 2018-02-19 09:07:43 --> Total execution time: 0.0321
DEBUG - 2018-02-19 09:07:43 --> UTF-8 Support Enabled
DEBUG - 2018-02-19 09:07:43 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2018-02-19 09:07:43 --> Upload MX_Controller Initialized
DEBUG - 2018-02-19 09:07:43 --> Config file loaded: /home/techinfom/www/gestionv2/application/config/invoice_plane.php
DEBUG - 2018-02-19 09:07:43 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_settings.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_versions.php
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/controllers/../modules/layout/controllers/Layout.php
DEBUG - 2018-02-19 09:07:43 --> Layout MX_Controller Initialized
DEBUG - 2018-02-19 09:07:43 --> File loaded: /home/techinfom/www/gestionv2/application/modules/upload/models/Mdl_uploads.php
DEBUG - 2018-02-19 09:07:43 --> Total execution time: 0.0157
DEBUG - 2018-02-19 09:07:50 --> UTF-8 Support Enabled
DEBUG - 2018-02-19 09:07:50 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2018-02-19 09:07:50 --> Settings MX_Controller Initialized
DEBUG - 2018-02-19 09:07:50 --> Config file loaded: /home/techinfom/www/gestionv2/application/config/invoice_plane.php
DEBUG - 2018-02-19 09:07:50 --> Encryption: Auto-configured driver 'openssl'.
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_settings.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/models/Mdl_versions.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/controllers/../modules/layout/controllers/Layout.php
DEBUG - 2018-02-19 09:07:50 --> Layout MX_Controller Initialized
DEBUG - 2018-02-19 09:07:50 --> Config file loaded: /home/techinfom/www/gestionv2/application/config/payment_gateways.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoice_groups/models/Mdl_invoice_groups.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/tax_rates/models/Mdl_tax_rates.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/email_templates/models/Mdl_email_templates.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/payment_methods/models/Mdl_payment_methods.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/invoices/models/Mdl_templates.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/header_buttons.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/alerts.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/partial_settings_general.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/partial_settings_invoices.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/partial_settings_quotes.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/partial_settings_taxes.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/partial_settings_email.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/partial_settings_online_payment.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/partial_settings_projects_tasks.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/partial_settings_updates.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/settings/views/index.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/head.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/navbar.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/includes/fullpage-loader.php
DEBUG - 2018-02-19 09:07:50 --> File loaded: /home/techinfom/www/gestionv2/application/modules/layout/views/layout.php
DEBUG - 2018-02-19 09:07:50 --> Total execution time: 0.0699

No, not the application logs, the console log in the browser. See https://www.wickedlysmart.com/hfjsconsole/

Hi Kovah, same issue here. Do you mean the following log?

VM375:2 Uncaught SyntaxError: Unexpected token < in JSON at position 1
    at JSON.parse ()
    at Object.success (122:433)
    at c (dependencies.min.js?v=1.5.7:1)
    at Object.fireWith [as resolveWith] (dependencies.min.js?v=1.5.7:1)
    at D (dependencies.min.js?v=1.5.7:1)
    at XMLHttpRequest. (dependencies.min.js?v=1.5.7:1)
(anonymous) @ 122:433
c @ dependencies.min.js?v=1.5.7:1
fireWith @ dependencies.min.js?v=1.5.7:1
D @ dependencies.min.js?v=1.5.7:1
(anonymous) @ dependencies.min.js?v=1.5.7:1
XMLHttpRequest.send (async)
send @ dependencies.min.js?v=1.5.7:1
ajax @ dependencies.min.js?v=1.5.7:1
_.(anonymous function) @ dependencies.min.js?v=1.5.7:1
(anonymous) @ 122:429
dispatch @ dependencies.min.js?v=1.5.7:1
m.handle @ dependencies.min.js?v=1.5.7:1
122:433 {"success":0}

Sorry,

i’ve got this in the console :

It’s what you want to see ? :-/

Thanks a lot

Thanks, this should help. Will take a look at it.

No problem, take your time.