Template Error

Impossible to invoke a method ("getPage") on a null variable.

/home/jwubzwoj/craft/templates/news/index.html(23)

11  #}
12 
13 {% extends "_layout" %}
14 {% set title = "News" %}
15 
16 {% block content %}
17     <h1>News</h1>
18 
19     {% for entry in craft.entries.section('news').find() %}
20         <article>
21             <h3><a href="{{ entry.url }}">{{ entry.title }}</a></h3>
22             <p>Posted on {{ entry.postDate.format('F d, Y') }}</p>
23             {{ entry.body.getPage(1) }}
24             <p><a href="{{ entry.url }}">Continue reading</a></p>
25         </article>
26     {% endfor %}
27 {% endblock %}
2024-03-29 07:47:54 LiteSpeed / Craft CMS 2.9.1