stracker-phil / divi3-vb-custom-modules

Upgrade your Divi 3 theme to enable custom modules in the Visual Builder (=front end editing)
43 stars 12 forks source link

Error #1

Open mibdeveloper opened 7 years ago

mibdeveloper commented 7 years ago

Hello. After all the items get this error. Uncaught TypeError: Cannot read property 'lockedParent' of undefined at w (bundle.js?ver=3.0.32:7) at bundle.js?ver=3.0.32:9 at Object.ID_1 (bundle.js?ver=3.0.32:9) at e._invokeCallback (bundle.js?ver=3.0.32:53) at e.dispatch (bundle.js?ver=3.0.32:53) at Object.moduleActive (bundle.js?ver=3.0.32:7) at t.value (bundle.js?ver=3.0.32:10) at Object.o (bundle.js?ver=3.0.32:17) at i (bundle.js?ver=3.0.32:16) at Object.s [as executeDispatchesInOrder] (bundle.js?ver=3.0.32:16)

What could it be?

stracker-phil commented 7 years ago

Hi mibdeveloper,

Your stack trace shows an error in line 7, which does not use the lockedParent property that causes your error. So I do not think that you use the modified bundle.js file... Or did you minify it again after your changes? If es, then I'd try again with the unminified version and see where the error really happens.

This error possibly is caused by a wrong change - did you accidentally delete/overwrite some JS code in bundle.js?

I just tested the changes again when I updated to Divi 3.0.35, and everything works perfectly here.