Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Testing returning error Cannot read property substring... #29

Open
bsides opened this issue Aug 7, 2017 · 3 comments
Open

Testing returning error Cannot read property substring... #29

bsides opened this issue Aug 7, 2017 · 3 comments

Comments

@bsides
Copy link
Contributor

bsides commented Aug 7, 2017

Hi guys,

I would like to develop a simple theme but I'm stuck on where to start here. I believe I was supposed to start from testing.html but it's throwing an error

Uncaught TypeError: Cannot read property 'substring' of undefined

Which maps to rdmty.js file line 247 that reads

DirectHitPct += parseFloat(data[x].DirectHitPct.substring(0, data[x].DirectHitPct.length - 1));

From my experience there is something wrong with DirectHitPct not being defined when it reaches that line. I could debug this but I thought maybe I could throw it here and see if anyone already fixed.

Anyway my real question would be what is the best way to start developing a theme? Which file to get into in the newer version of Overlay plugin?

Thanks in advance.

@christianallred
Copy link
Collaborator

christianallred commented Aug 7, 2017 via email

@christianallred
Copy link
Collaborator

christianallred commented Aug 7, 2017 via email

@bsides
Copy link
Contributor Author

bsides commented Aug 8, 2017

Alright thanks @christianallred. Is there anything else you could point me to? I got the hang of the data already, just checking if there's anything else.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants