Fix _serialize and Paginator
Now let's do some fixes to the _serialize and paginator on cells:
- Since setting view var
_serializeis deprecated, useViewBuilder::setOption('serialize', $value)instead. - Use
$this->request->withAttributeinstead$this->request->withParam - Use
$this->request->getAttributeinstead$this->request->getParam
See this to get more information about paginating data inside a cell
Go to the next step (Authentication and Authorization)
Prefer to have the upgrade done for you? See Upgrade to CakePHP 5.