Empty AEM form throwing error in console: "Handler of component is invalid -> TypeError: Cannot read properties of undefined (reading 'flow')"
I have just setup AEM 6.5.7 in local with service package adobe-aemfd-linux-pkg-6.0.234 to setup some AEM forms but if I am creating any AEM form it throws error in console as shown below, please suggest any resolution for this problem.
Logs of browser console:
core.js:656
Handler of component is invalid -> TypeError: Cannot read properties of undefined (reading 'flow')
at eval (eval at ns.util.sanitizeCQHandler (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:273:94), <anonymous>:1:14)
at Object.ns.util.sanitizeCQHandler (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:273:94)
at Object.ns.util.sanitizeCQHandler (http://localhost:4502/libs/fd/af/authoring/editors/clientlibs/form.js:46110:44)
at String.<anonymous> (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:326:337)
at Function.each (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js:377:19)
at constructor._loadConfig (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:325:277)
at constructor.updateConfig (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:327:64)
at constructor.ns.Editable.updateConfig (http://localhost:4502/libs/fd/channelcore/clientlibs/utils.js:1017:35)
at Object.<anonymous> (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:931:131)
at fire (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js:3233:31)