I'm trying to write a code for an element. I've already set up the element
as being related to a story, which is forcefully. So after I published the
story without a link, it threw out an error, saying "Can't call method
"get_site_id" on an undefined value". Sometimes I want to relate to a story
and sometimes I don't, so I'm wondering in what code I can make it
published. Anyone can shows his/her generosity?
Thanks,
Pai
as being related to a story, which is forcefully. So after I published the
story without a link, it threw out an error, saying "Can't call method
"get_site_id" on an undefined value". Sometimes I want to relate to a story
and sometimes I don't, so I'm wondering in what code I can make it
published. Anyone can shows his/her generosity?
Thanks,
Pai