# Bug OP-13878 - Error 500 when trying to view a budget with a running WP timer

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-13878

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.2.1 |
| Observed in versions | 13.0.0 |
| Sprint | 13.2.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Create a budget XY
2.  Create a work package AB and assign budget XY
3.  Start a timer on work package AB
4.  Try to open Budget XY in menu

### What is the buggy behavior?

  - An error 500 is shown

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/81370/content">

### What is the expected behavior?

1.  The budget should be shown (probably in the state it was in when the timer was started)

### **Logs**

*Are there relevant logs output by* `_openproject logs_` *(packaged installation) (*[*click here for details*](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)*) or in a log/production.log or /var/log/openproject/ ?* 

`E, [2023-12-08T11:35:08.759868 #1893] ERROR -- : user=3 nil can't be coerced into Float: nil can't be coerced into Float`

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

- [ ] Hosted cloud edition
- [ ] Packaged installation
    - What distribution?
- [ ] Docker All-in-one container
- [x] Docker-compose installation
- [ ] Other (please specify)

**OpenProject version**

*v13.0.8*

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Language**

German / English
