Error: Cannot use object of type KL\EditorManager\Finder\Template as array src/addons/KL/EditorManager/Pub/Controller/Templates.php:256
Generated by: Able31 Nov 2, 2021 at 6:06 PM
Stack trace
#0 src/XF/Mvc/Dispatcher.php(352): KL\EditorManager\Pub\Controller\Templates->actionSort(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('KL\\EditorManage...', 'Sort', Object(XF\Mvc\RouteMatch), Object(KL\EditorManager\Pub\Controller\Templates), NULL)
#2 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(KL\EditorManager\Pub\Controller\Templates), NULL)
#3 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#5 src/XF.php(512): XF\App->run()
#6 index.php(20): XF::runApp('XF\\Pub\\App')
#7 {main}
Request state
array(4) {
["url"] => string(33) "/account/kl-editor-templates/sort"
["referrer"] => string(51) "/account/kl-editor-templates/"
["_GET"] => array(0) {
}
["_POST"] => array(5) {
["templates"] => string(160) "[{"id":"36","parent_id":"","depth":0,"lft":1,"rgt":2},{"id":"34","parent_id":"","depth":0,"lft":3,"rgt":4},{"id":"35","parent_id":"","depth":0,"lft":5,"rgt":6}]"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(29) "/account/kl-editor-templates/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}