Mo

Also, what happens if you add var_dump($list); AFTER $list = $this->getSearchResultParam();?

Mo

I am wondering if you have a method on the Model class that may be conflicting

Mo

@customPhpDev Does your controller have a related SiteTree Object? (IE is it an instance of ContentController )?

Mo

It sounds like it is not returning a PaginatedList

Mo

Can you paste the result of $PageinatedPages.Debug?

Mo

Actually, that doesn't seem right. PaginatedPages should return a PaginatedList not an ArrayList?

Mo

What does $PageinatedPages.Count reveal? Are there items available?

Mo

Yea, I have no idea how I found out about it, maybe it was in the SS book (that was once a thing)

Mo

Odd, I can't seem to find it in the docs...

Mo

It is pretty handy if templates don't seem to be rendering what you expect