JavaScript for WordPress › Forums › React Explained › Refactoring stage issues › Reply To: Refactoring stage issues
May 13, 2019 at 6:19 pm
#107517
Keymaster
Okay, great. Are you able to follow what this error is saying?
first argument contains undefined in property ‘posts.slug’
It means the post you are passing doesn’t have a slug. So you need to trace back to where that function is called and see why the post does not have a slug.
Let me know how that goes.