title: How to use $this->autoRender = false in cakephp 3.6.10?
body: <p>I am trying to display the test data on the screen by running function test() in the pagesController. Used $this->autoRender = false for it, but it is still giving me error:</p>
  
  <p><img src="https://i.stack.imgur.com/GdQN7.png" alt=""></p>
  
  <p>Please help me out. I think some version problem is there, but I can't figure it out. Thankyou.</p>