Ajax Routing v8
PermalinkI'm getting the following error
Call to undefined method Concrete\Package\CustomPackage\Block\Ajax\Controller::getViewObject()
The route is set in the package controller as
Route::register('/dynamic/page-list', '\Concrete\Package\CustomPackage\Block\Ajax\Controller::getStuff');
Can anyone point me in the right direction or help?

I have spent the last couple of days digging into this and managed to get it working.
It turns out it's not an issue with the route, this works correctly.
It's an issue with the way the 5.8 handles some of the previous functions being called from within the getViewObject method.
The date attribute, is now an object and not a string so caused some issues when trying to convert use strtotime.
The previous page list handled the filtering of excluded pages differently (exclude_pagelist, attribute) and the old version now causes some Exceptions.
A few of the files had custom overrides which also caused some issues. So I've replaced those with the new Facade version