Console error Litium back office

Hi!

Getting console error in Litium back office (ex. when enter a product or edit a field).

Does anyone know how to fix it?

See stacktrace below:

vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:515 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'call' of undefined
TypeError: Cannot read property 'call' of undefined
    at __webpack_require__ (manifest.js?v=A98408774B38038F9E1555D728BF8229436003C116208C9D097D8A2F6E55A4D4:1)
    at Module../Accelerator/extensions.ts (field-editor-filter-fields.component.ts:13)
    at __webpack_require__ (manifest.js?v=A98408774B38038F9E1555D728BF8229436003C116208C9D097D8A2F6E55A4D4:1)
    at main.js?v=C77060C88ECC855BCB30F831A139E3F80A05D4825D6834C8F2DA0758D8E14615:1
    at ZoneDelegate.invoke (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at Object.onInvoke (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:1274)
    at ZoneDelegate.invoke (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at Zone.run (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2567
    at ZoneDelegate.invokeTask (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at Object.onInvokeTask (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:1274)
    at ZoneDelegate.invokeTask (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at Zone.runTask (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at drainMicroTaskQueue (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at resolvePromise (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2567)
    at vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2567
    at rejected (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2552)
    at ZoneDelegate.invoke (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at Object.onInvoke (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:1274)
    at ZoneDelegate.invoke (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at Zone.run (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2567
    at ZoneDelegate.invokeTask (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at Object.onInvokeTask (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:1274)
    at ZoneDelegate.invokeTask (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at Zone.runTask (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)
    at drainMicroTaskQueue (vendor.js?v=0B8D3CB92B29BD7349DCED55D9D5E53BA03C9E9704D95419513B8B70EAC328E9:2559)

Litium version: 7.4.0

Best regards,
Simon

Did you upgrade from previous 7 version, or did you start with a clean 7.4?

Yeah, from version 7.3.1

Please apply this upgrade guideline, there is a specific section for upgrading custom field type project to 7.4: https://docs.litium.com/documentation/upgrading-to-litium-7

Thanks!
Cleared node_modules in Fieldtypes and Mvc project and reinstalled them. Solved my problem.

1 Like