Skip to content

Can not add Statue when creating a charge/conviction #222

@zmon

Description

@zmon

When entering this

image

Just stayed on the screen. Console had

app.js:58554 [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "value"

Laravel Log:

[2021-05-14 00:21:00] local.ERROR: array_map(): Expected parameter 2 to be an array, null given {"userId":1,"exception":"[object] (ErrorException(code: 0): array_map(): Expected parameter 2 to be an array, null given at /Users/paulb/Projects/code4kc/cmr/cmr-clinic-admin-api/app/Http/Controllers/StatuteController.php:453)
[stacktrace]
#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'array_map(): Ex...', '/Users/paulb/Pr...', 453, Array)
#1 /Users/paulb/Projects/code4kc/cmr/cmr-clinic-admin-api/app/Http/Controllers/StatuteController.php(453): array_map(Object(Closure), NULL)
#2 /Users/paulb/Projects/code4kc/cmr/cmr-clinic-admin-api/app/Http/Controllers/StatuteController.php(129): App\\Http\\Controllers\\StatuteController->syncExceptions(Object(App\\Http\\Requests\\StatuteFormRequest), Object(App\\Statute))

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions