Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined Offset - Error #1085

Closed
nicoschreiner opened this issue Jan 1, 2018 · 2 comments
Closed

Undefined Offset - Error #1085

nicoschreiner opened this issue Jan 1, 2018 · 2 comments
Assignees
Labels
bug Verified and replicated bugs and issues. fixed Bugs that are fixed (in a coming release).
Milestone

Comments

@nicoschreiner
Copy link
Contributor

I am running Firefly III version 4.6.11.1 and 4.7.0 (tested on demo page too - may you got an email?)

Description of my issue:

I run into an Undefined offset-error which leads to a warning-sign in the graphs Expenses by category and Income by category.

image

Steps to reproduce

  1. Create a new Category.
  2. Create a new Withdrawal and / or Deposit with this category.
  3. Delete the Category.
  4. Go to Accounts -> Asset accounts -> Click the account to which the withdrawal and deposit was added.
  5. May you need to click on Show all transactions without grouping them by date.

Other important details (log files, system info):

Truncated from this point <----|[2018-01-01 13:59:55] production.ERROR: Exception is: {"class":"ErrorException","errorMessage":"Undefined offset: 4","time":"Mon, 01 Jan 2018 13:59:55 +0000","file":"\/srv\/firefly-iii\/www\/public_html\/firefly-iii\/app\/Http\/Controllers\/Chart\/AccountController.php","line":318,"code":0,"version":"4.6.11.1"}  
[2018-01-01 14:00:02] production.ERROR: Undefined offset: 4 {"userId":3,"email":"***","exception":"[object] (ErrorException(code: 0): Undefined offset: 4 at /srv/firefly-iii/www/public_html/firefly-iii/app/Http/Controllers/Chart/AccountController.php:318)"} 
[2018-01-01 14:00:10] production.ERROR: Exception is: {"class":"ErrorException","errorMessage":"Undefined offset: 4","time":"Mon, 01 Jan 2018 14:00:10 +0000","file":"\/srv\/firefly-iii\/www\/public_html\/firefly-iii\/app\/Http\/Controllers\/Chart\/AccountController.php","line":318,"code":0,"version":"4.6.11.1"}  
[2018-01-01 14:00:14] production.ERROR: Undefined offset: 4 {"userId":3,"email":"***","exception":"[object] (ErrorException(code: 0): Undefined offset: 4 at /srv/firefly-iii/www/public_html/firefly-iii/app/Http/Controllers/Chart/AccountController.php:318)"} 
[2018-01-01 14:01:11] production.ERROR: Exception is: {"class":"ErrorException","errorMessage":"Undefined offset: 4","time":"Mon, 01 Jan 2018 14:01:11 +0000","file":"\/srv\/firefly-iii\/www\/public_html\/firefly-iii\/app\/Http\/Controllers\/Chart\/AccountController.php","line":318,"code":0,"version":"4.6.11.1"}  
[2018-01-01 14:01:15] production.ERROR: Undefined offset: 4 {"userId":3,"email":"***","exception":"[object] (ErrorException(code: 0): Undefined offset: 4 at /srv/firefly-iii/www/public_html/firefly-iii/app/Http/Controllers/Chart/AccountController.php:318)"} 

@JC5
Copy link
Member

JC5 commented Jan 1, 2018

Ah darn, I fixed a similar bug for budgets, but not for categories. A fix is on the way, and will go live in 4.7.0

@JC5 JC5 self-assigned this Jan 1, 2018
@JC5 JC5 added bug Verified and replicated bugs and issues. fixed Bugs that are fixed (in a coming release). labels Jan 1, 2018
@JC5 JC5 added this to the 4.7.0 milestone Jan 1, 2018
@nicoschreiner
Copy link
Contributor Author

Thanks! :D

@JC5 JC5 modified the milestones: 4.7.0, 4.6.13 Jan 6, 2018
@JC5 JC5 closed this as completed in 4926011 Jan 7, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Verified and replicated bugs and issues. fixed Bugs that are fixed (in a coming release).
Projects
None yet
Development

No branches or pull requests

2 participants