Cannot read property 'forEach' of undefined

how to fix it ???Untitled

how about some example code?

Try updating to latest admin and turning off the Remote Verify Peer setting in the advanced section of the system config.

how to update admin?

Inside Admin, in the Plugins page. Or through command line, bin/gpm update