Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Trying to get property 'type' of non-object

Elie Hanna   ( User )

Commented 3 years ago

Hello,

Kindly note I'm getting this error "Trying to get property 'type' of non-object" when adding a new bill.
It was working before the last update.

Can anyone help me please?

Best regards

Leonardo Gomes   ( User )

Commented 3 years ago

Hello,

Share a pint screen of the full error please

Elie Hanna   ( User )

Commented 3 years ago

hello,

Here's a screenshot:

https://ibb.co/y8KWRBg

This happens directly after saving a new bill

Thank you in advance.

Zaap   ( User )

Commented 3 years ago

Same error. Installed for testing purposes today.

This morning I created one invoice, in the evening tried to create a new one and each time I click save same error: "Trying to get property 'type' of non-object".

Zaap   ( User )

Commented 3 years ago

Screenshot if could helps... https://ibb.co/nww38P1

Leonardo Gomes   ( User )

Commented 3 years ago

Can you open your .env file and changed APP_DEBUG to true? Then send a new print screen..

Wayne   ( User )

Commented 3 years ago

Good day.. I have this same problem. It seems after searching the web it seems maybe its an issue with Laravel or Mariadb, not sure. It was fine before upgrading to 2.1.10. Please if anyone knows what I might be able to do to fix it's quite urgent and effectively Akaunting is useless in this condition because I cannot save new invoices :(

Wayne   ( User )

Commented 3 years ago

Hey! Good news. I was just totally lucky but I think I figured out the problem. I 'think' that after the Akaunting update they somehow merged the tax info into the product / item module so it feeds into the invoice. One of my products did not have a tax saved with it. So when the invoice saved, I guess, it was looking for the tax amount and it wasn't there saved in the item so it kicked up this error.

I went back into the products and checked each one and made sure there was a tax associated with it (I chose 0%, non-taxable if there was zero tax and did not leave it blank) and when I went in and tried again everything was working. .

I hope this helps someone else, too.

Haqi Ramadhani   ( User )

Commented 2 years ago

I have same error when opening create invoice page
https://ibb.co/dWKYvs3

Please login or register to leave a response.

Showing 1 to 9 of 9 discussions