PageList custom template error in Edit mode

Hello, can someone help?

I'm using pagelist block and connected pagelist custom template.
When I edited the custom template and change the page to edit mode, make error [Call to undefined method Concrete\Core\Page\View\PageView::showControls()].
How to solve?

View Replies:
tallacman replied on at Permalink Reply
Probably help if you upload the template here.
davidkham replied on at Permalink Reply
Thanks for reply.

Error was variable name $view. I changed the variable name $view to another.