Uncaught TypeError

  • I have integrated krpano with the wordpress frontend, which works as expected. But when I integrate krpano with the admin area I keep getting this error:


    "Uncaught TypeError: c.action.getArray is not a function
    at Object.l.actions_autorun (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:93071)
    at v (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:163669)
    at z (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:162666)
    at eval (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:157065)
    at eval (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:79325)
    at q (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:79032)
    at G (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:79154)
    at eval (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:79265)
    at b (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:156960)
    at Object.A.loadpano (eval at embedpano (krpano.js?ver=5.9.3:10:74), <anonymous>:1:170595)"


    I feel lost. Could anyone point me in the right direction?

  • Hi,

    according to the error and your description that passQueryParameters=false is working, it seems you're passing a variable named 'action' and so overwrite the krpano 'action' Array, which then leads to the error.

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!