Undefined variable: media when using mediaSingle method to linking media and entities
I am new to this cms framework. I have created a cms for users to create new blog(a new entity that I have created) already and I have pushed my project to a remote git repository. Now, I would like to clone the project to another new server. Everything's right except when I tried to create a new blog post. An error "Undefined variable media" was shown while it worked normally when I editing some old posts. How to fix this problem? Thanks!