How to Prevent cannot read property split of undefined

How to Prevent cannot read property split of undefined

More to explore