JavaScript Uncaught TypeError
-
I’m trying to simply select a user photo in the “Click to Edit” field and I’m getting this error in the console (Chrome) when I select a photo from the Media Library:
mpp.js?ver=20180819:45
Uncaught TypeError: Cannot read property ‘style’ of null
at mt_display_block (mpp.js?ver=20180819:45)
at Object.success (mpp.js?ver=20180819:108)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,zxcvbn-async,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sort&load[]=able&ver=4.9.8:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,zxcvbn-async,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sort&load[]=able&ver=4.9.8:2)
at y (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,zxcvbn-async,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sort&load[]=able&ver=4.9.8:4)
at XMLHttpRequest.c (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,zxcvbn-async,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sort&load[]=able&ver=4.9.8:4)The spinner spins forever.
The failing line is line 45 of mpp.js:
temp.firstElementChild.style.display = ‘block’;I’m using V1.5.5 of the plugin. Any ideas what is going on?
Thanks,
Brian
The topic ‘JavaScript Uncaught TypeError’ is closed to new replies.