Hey y’all I am experiencing an odd error
I can view Messages and Reports tab. However, I cannot view Tasks, Contacts and Performance.
When I click on Tasks and Performance I see this error
When I visit Contacts I see this
In the browser console I see two errors
feedback.service.ts:179 Error selecting contact Error: Rules Engine: Rules are not declarative.
Updates are required.
at Object.<anonymous> (provider-wireup.js:35:13) at Generator.next (<anonymous>)
at Object.initialize (provider-wireup.js:33:13)
at Object.initialize (index.js:31:48)
at rules-engine.service.ts:126:32
and
Error fetching relevant forms TypeError: Cannot read properties of null (reading ‘doc’)
at contacts-content.component.ts:388:82
at Array.map ()
at contacts-content.component.ts:386:42
at xml-forms.service.ts:332:26
There are several things that make this error puzzling.
- I don’t see any error in the api-logs.
- The errors only appear when I login as a chw, but when I login with the medic admin, the components load fine.
- Last week, the chw could login just fine.
- I’ve tried changing DBs but I get the same behavior.
- The same config / branch is working fine in another instance, it seems it’s something not quite right with my local instance.
Anyone with an idea what could be causing this issue?

