Uncaught TypeError: Cannot read property 'top' of undefined

jtimana's picture
jtimana
Thu, 08/25/2016 - 20:05
#1
Uncaught TypeError: Cannot read property 'top' of undefined

I'm getting tons of these messages in the console and it's preventing other Javascript from running.

awemenu.min.js?v=1.0:1 Uncaught TypeError: Cannot read property 'top' of undefined

When scrolling you get hundred of these messages.

phuonght's picture
phuonght
Thu, 08/25/2016 - 22:39

Hi,

Please go to your account page (http://megadrupal.com/user/ionize) to update latest version of Mega menu. 

jtimana's picture
jtimana
Thu, 08/25/2016 - 23:44

Yeah, I'm sure I have the latest version already...

phuonght's picture
phuonght
Thu, 08/25/2016 - 23:59

Do not make sure when you updated to version 7.x-1.18 however we have some updates without changing number of version. Also, you can please try to update file md_megamenu/js/awemenu.min.js with code at http://demo.megadrupal.com/d7/md-avendor/sites/all/modules/custom/md_meg....

jtimana's picture
jtimana
Fri, 08/26/2016 - 02:49

Sure I'll try. When was the last time you updated the files to download? For me it's showing 03 Jul 2015.

jtimana's picture
jtimana
Fri, 08/26/2016 - 02:56

UPDATE: Downloading the file from the demo site actually works. I wonder why isn't this fix included in the downloads for everyone? Thanks!

jessica's picture
jessica
Thu, 09/15/2016 - 15:35

I tried download the files from my account and upated the link to the js file above too, still getting this error. 

The full error I'm getting from the console:

awemenu.min.js?v=1.0:1 

Uncaught TypeError: Cannot read property 'top' of undefined

onScroll @ awemenu.min.js?v=1.0:1

(anonymous function) @ awemenu.min.js?v=1.0:1

dispatch @ jquery.min.js?v=1.8.3:2

u @ jquery.min.js?v=1.8.3:2

trigger @ jquery.min.js?v=1.8.3:2

(anonymous function) @ jquery.min.js?v=1.8.3:2

each @ jquery.min.js?v=1.8.3:2

each @ jquery.min.js?v=1.8.3:2

trigger @ jquery.min.js?v=1.8.3:2

(anonymous function) @ awemenu.min.js?v=1.0:1

dispatch @ jquery.min.js?v=1.8.3:2

u @ jquery.min.js?v=1.8.3:2

trigger @ jquery.min.js?v=1.8.3:2

(anonymous function) @ jquery.min.js?v=1.8.3:2

each @ jquery.min.js?v=1.8.3:2

each @ jquery.min.js?v=1.8.3:2

trigger @ jquery.min.js?v=1.8.3:2

(anonymous function) @ awemenu.min.js?v=1.0:1

phuonght's picture
phuonght
Thu, 09/15/2016 - 22:59

Hi Jessica,

Please send us your site url. We would like to have a check.

jessica's picture
jessica
Fri, 09/16/2016 - 11:13

Actually it seems to be working fine.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.