70kft / craft-instablog

Quickly set up a blog on Craft CMS and imports WordPress blog export file.
MIT License
67 stars 4 forks source link

Craft\EntryModel and its behaviors do not have a method or closure named "body". #5

Closed jacobgraf closed 8 years ago

jacobgraf commented 8 years ago

When viewing the single entry page for the default blog entry that's created on install, I get this error.

Craft\EntryModel and its behaviors do not have a method or closure named "body".

jpwdesigns commented 8 years ago

Hi @jacobgraf Did you discover what the problem was? I suspect that is related to a var in your layout or something that was changed in the InstaBlog template.

jacobgraf commented 8 years ago

No, unfortunately I had to give up and uninstall it. :-(

jpwdesigns commented 8 years ago

Was this just a plain install without modding anything?

pj258 commented 8 years ago

line 27 in _instablog-layout.twig

change entry.body to entry.instaBlogBody

jpwdesigns commented 8 years ago

Thank you @pj258 this has been updated.