imfunniee / gitfolio

:octocat: personal website + blog for every github user

Home Page:https://imfunniee.github.io/gitfolio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Cannot read property 'split' of undefined

batessmart opened this issue · comments

Hey,

When I try create new blog post I notice I get the following error

TypeError: Cannot read property 'split' of undefined

Could you please advise any requirements i need.

Thanks in advanced.

I am having the same issue plus some blogs come out blank. Kindly help.

@batessmart and @stephenajulu , you have to include the background image at the top right. Otherwise, the element is null, and you get the undefined error.

There should be a test case, and a conditional check for this...

@sensui7 Yes that has fixed it, Thanks!

@sensui7 Please explain... This error occurs within the ui.js file of the gitfolio npm package TypeError: Cannot read property 'split' of undefined at /<user directory>/.brew/lib/node_modules/gitfolio/ui.js:71:35