# fettchTable not found in View cells

**URL:** <https://discourse.cakephp.org/t/fettchtable-not-found-in-view-cells/10015>\
**Category:** Uncategorized\
**Created:** [December 20, 2021, 9:19pm UTC](https://discourse.cakephp.org/t/fettchtable-not-found-in-view-cells/10015 "2021-12-20T21:19:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nightbikeman](https://avatars.discourse-cdn.com/v4/letter/n/839c29/32.png) [@nightbikeman](https://discourse.cakephp.org/u/nightbikeman)\
**Post date:** [December 20, 2021, 9:19pm UTC](https://discourse.cakephp.org/t/fettchtable-not-found-in-view-cells/10015/1 "2021-12-20T21:19:26Z")

</div>

Hi all,  
I’m trying to do Pagination from within a cell. I’ve tried to follow the documentation here. [View Cells - 4.x](https://book.cakephp.org/4/en/views/cells.html#paginating-data-inside-a-cell)

but it says it can’t find FetchTable is this documentation correct?

---

<div class="post-metadata">

**Author:** ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)\
**Post date:** [December 21, 2021, 1:54am UTC](https://discourse.cakephp.org/t/fettchtable-not-found-in-view-cells/10015/2 "2021-12-21T01:54:51Z")

</div>

Specifically, which version of CakePHP are you using? The `fetchTable` function was only added in v4.3. Prior to that, you’d want to use `loadModel`.

---

<div class="post-metadata">

**Author:** ![nightbikeman](https://avatars.discourse-cdn.com/v4/letter/n/839c29/32.png) [@nightbikeman](https://discourse.cakephp.org/u/nightbikeman)\
**Post date:** [December 21, 2021, 11:35am UTC](https://discourse.cakephp.org/t/fettchtable-not-found-in-view-cells/10015/3 "2021-12-21T11:35:12Z")

</div>

Thank you, I’m using Cake 4.2. Time for an upgrade 🙂
