-
-
Save clyonsEIS/1062e28c596ef6980ec0 to your computer and use it in GitHub Desktop.
Trace for SS Widget issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR [Notice]: Trying to get property of non-object | |
IN GET /local.Site/admin/pages/updatetreenodes?ids= | |
Line 946 in /var/www/vhosts/SS3/framework/admin/code/LeftAndMain.php | |
Source | |
====== | |
937: ? singleton('CMSPageEditController') | |
938: : $this; | |
939: | |
940: // Find the next & previous nodes, for proper positioning (Sort isn't good enough - it's not a | |
raw offset) | |
941: // TODO: These methods should really be in hierarchy - for a start it assumes Sort exists | |
942: $next = $prev = null; | |
943: | |
944: $className = $this->stat('tree_class'); | |
945: $next = DataObject::get($className) | |
* 946: ->filter('ParentID', $record->ParentID) | |
947: ->filter('Sort:GreaterThan', $record->Sort) | |
948: ->first(); | |
949: | |
950: if (!$next) { | |
951: $prev = DataObject::get($className) | |
952: ->filter('ParentID', $record->ParentID) | |
Trace | |
===== | |
LeftAndMain->updatetreenodes(SS_HTTPRequest) | |
RequestHandler.php:288 | |
RequestHandler->handleAction(SS_HTTPRequest,updatetreenodes) | |
Controller.php:194 | |
Controller->handleAction(SS_HTTPRequest,updatetreenodes) | |
RequestHandler.php:200 | |
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) | |
Controller.php:153 | |
Controller->handleRequest(SS_HTTPRequest,DataModel) | |
LeftAndMain.php:441 | |
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel) | |
AdminRootController.php:93 | |
AdminRootController->handleRequest(SS_HTTPRequest,DataModel) | |
Director.php:360 | |
Director::handleRequest(SS_HTTPRequest,Session,DataModel) | |
Director.php:152 | |
Director::direct(/admin/pages/updatetreenodes,DataModel) | |
main.php:189 | |
ERROR [Notice]: Trying to get property of non-object | |
IN GET /local.Site/admin/pages/updatetreenodes?ids= | |
Line 947 in /var/www/vhosts/SS3/framework/admin/code/LeftAndMain.php | |
Source | |
====== | |
938: : $this; | |
939: | |
940: // Find the next & previous nodes, for proper positioning (Sort isn't good enough - it's not a | |
raw offset) | |
941: // TODO: These methods should really be in hierarchy - for a start it assumes Sort exists | |
942: $next = $prev = null; | |
943: | |
944: $className = $this->stat('tree_class'); | |
945: $next = DataObject::get($className) | |
946: ->filter('ParentID', $record->ParentID) | |
* 947: ->filter('Sort:GreaterThan', $record->Sort) | |
948: ->first(); | |
949: | |
950: if (!$next) { | |
951: $prev = DataObject::get($className) | |
952: ->filter('ParentID', $record->ParentID) | |
953: ->filter('Sort:LessThan', $record->Sort) | |
Trace | |
===== | |
LeftAndMain->updatetreenodes(SS_HTTPRequest) | |
RequestHandler.php:288 | |
RequestHandler->handleAction(SS_HTTPRequest,updatetreenodes) | |
Controller.php:194 | |
Controller->handleAction(SS_HTTPRequest,updatetreenodes) | |
RequestHandler.php:200 | |
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) | |
Controller.php:153 | |
Controller->handleRequest(SS_HTTPRequest,DataModel) | |
LeftAndMain.php:441 | |
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel) | |
AdminRootController.php:93 | |
AdminRootController->handleRequest(SS_HTTPRequest,DataModel) | |
Director.php:360 | |
Director::handleRequest(SS_HTTPRequest,Session,DataModel) | |
Director.php:152 | |
Director::direct(/admin/pages/updatetreenodes,DataModel) | |
main.php:189 | |
ERROR [Notice]: Trying to get property of non-object | |
IN GET /local.Site/admin/pages/updatetreenodes?ids= | |
Line 958 in /var/www/vhosts/SS3/framework/admin/code/LeftAndMain.php | |
Source | |
====== | |
949: | |
950: if (!$next) { | |
951: $prev = DataObject::get($className) | |
952: ->filter('ParentID', $record->ParentID) | |
953: ->filter('Sort:LessThan', $record->Sort) | |
954: ->reverse() | |
955: ->first(); | |
956: } | |
957: | |
* 958: $link = Controller::join_links($recordController->Link("show"), $record->ID); | |
959: $html = LeftAndMain_TreeNode::create($record, $link, $this->isCurrentPage($record)) | |
960: ->forTemplate() . '</li>'; | |
961: | |
962: $data[$id] = array( | |
963: 'html' => $html, | |
964: 'ParentID' => $record->ParentID, | |
Trace | |
===== | |
LeftAndMain->updatetreenodes(SS_HTTPRequest) | |
RequestHandler.php:288 | |
RequestHandler->handleAction(SS_HTTPRequest,updatetreenodes) | |
Controller.php:194 | |
Controller->handleAction(SS_HTTPRequest,updatetreenodes) | |
RequestHandler.php:200 | |
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) | |
Controller.php:153 | |
Controller->handleRequest(SS_HTTPRequest,DataModel) | |
LeftAndMain.php:441 | |
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel) | |
AdminRootController.php:93 | |
AdminRootController->handleRequest(SS_HTTPRequest,DataModel) | |
Director.php:360 | |
Director::handleRequest(SS_HTTPRequest,Session,DataModel) | |
Director.php:152 | |
Director::direct(/admin/pages/updatetreenodes,DataModel) | |
main.php:189 | |
ERROR [Notice]: Trying to get property of non-object | |
IN GET /local.Site/admin/pages/updatetreenodes?ids= | |
Line 1885 in /var/www/vhosts/SS3/framework/admin/code/LeftAndMain.php | |
Source | |
====== | |
1876: * Returns template, for further processing by {@link Hierarchy->getChildrenAsUL()}. | |
1877: * Does not include closing tag to allow this method to inject its own children. | |
1878: * | |
1879: * @todo Remove hardcoded assumptions around returning an <li>, by implementing recursive tree node | |
rendering | |
1880: * | |
1881: * @return String | |
1882: */ | |
1883: public function forTemplate() { | |
1884: $obj = $this->obj; | |
* 1885: return "<li id=\"record-$obj->ID\" data-id=\"$obj->ID\" data-pagetype=\"$obj->ClassName\" | |
class=\"" | |
1886: . $this->getClasses() . "\">" . "<ins class=\"jstree-icon\"> </ins>" | |
1887: . "<a href=\"" . $this->getLink() . "\" title=\"" . _t('LeftAndMain.PAGETYPE','Page type: ') | |
1888: . "$obj->class\" ><ins class=\"jstree-icon\"> </ins><span class=\"text\">" . | |
($obj->TreeTitle) | |
1889: . "</span></a>"; | |
1890: } | |
1891: | |
Trace | |
===== | |
LeftAndMain_TreeNode->forTemplate() | |
LeftAndMain.php:960 | |
LeftAndMain->updatetreenodes(SS_HTTPRequest) | |
RequestHandler.php:288 | |
RequestHandler->handleAction(SS_HTTPRequest,updatetreenodes) | |
Controller.php:194 | |
Controller->handleAction(SS_HTTPRequest,updatetreenodes) | |
RequestHandler.php:200 | |
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) | |
Controller.php:153 | |
Controller->handleRequest(SS_HTTPRequest,DataModel) | |
LeftAndMain.php:441 | |
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel) | |
AdminRootController.php:93 | |
AdminRootController->handleRequest(SS_HTTPRequest,DataModel) | |
Director.php:360 | |
Director::handleRequest(SS_HTTPRequest,Session,DataModel) | |
Director.php:152 | |
Director::direct(/admin/pages/updatetreenodes,DataModel) | |
main.php:189 | |
ERROR [Notice]: Trying to get property of non-object | |
IN GET /local.Site/admin/pages/updatetreenodes?ids= | |
Line 1885 in /var/www/vhosts/SS3/framework/admin/code/LeftAndMain.php | |
Source | |
====== | |
1876: * Returns template, for further processing by {@link Hierarchy->getChildrenAsUL()}. | |
1877: * Does not include closing tag to allow this method to inject its own children. | |
1878: * | |
1879: * @todo Remove hardcoded assumptions around returning an <li>, by implementing recursive tree node | |
rendering | |
1880: * | |
1881: * @return String | |
1882: */ | |
1883: public function forTemplate() { | |
1884: $obj = $this->obj; | |
* 1885: return "<li id=\"record-$obj->ID\" data-id=\"$obj->ID\" data-pagetype=\"$obj->ClassName\" | |
class=\"" | |
1886: . $this->getClasses() . "\">" . "<ins class=\"jstree-icon\"> </ins>" | |
1887: . "<a href=\"" . $this->getLink() . "\" title=\"" . _t('LeftAndMain.PAGETYPE','Page type: ') | |
1888: . "$obj->class\" ><ins class=\"jstree-icon\"> </ins><span class=\"text\">" . | |
($obj->TreeTitle) | |
1889: . "</span></a>"; | |
1890: } | |
1891: | |
Trace | |
===== | |
LeftAndMain_TreeNode->forTemplate() | |
LeftAndMain.php:960 | |
LeftAndMain->updatetreenodes(SS_HTTPRequest) | |
RequestHandler.php:288 | |
RequestHandler->handleAction(SS_HTTPRequest,updatetreenodes) | |
Controller.php:194 | |
Controller->handleAction(SS_HTTPRequest,updatetreenodes) | |
RequestHandler.php:200 | |
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) | |
Controller.php:153 | |
Controller->handleRequest(SS_HTTPRequest,DataModel) | |
LeftAndMain.php:441 | |
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel) | |
AdminRootController.php:93 | |
AdminRootController->handleRequest(SS_HTTPRequest,DataModel) | |
Director.php:360 | |
Director::handleRequest(SS_HTTPRequest,Session,DataModel) | |
Director.php:152 | |
Director::direct(/admin/pages/updatetreenodes,DataModel) | |
main.php:189 | |
ERROR [Notice]: Trying to get property of non-object | |
IN GET /local.Site/admin/pages/updatetreenodes?ids= | |
Line 1885 in /var/www/vhosts/SS3/framework/admin/code/LeftAndMain.php | |
Source | |
====== | |
1876: * Returns template, for further processing by {@link Hierarchy->getChildrenAsUL()}. | |
1877: * Does not include closing tag to allow this method to inject its own children. | |
1878: * | |
1879: * @todo Remove hardcoded assumptions around returning an <li>, by implementing recursive tree node | |
rendering | |
1880: * | |
1881: * @return String | |
1882: */ | |
1883: public function forTemplate() { | |
1884: $obj = $this->obj; | |
* 1885: return "<li id=\"record-$obj->ID\" data-id=\"$obj->ID\" data-pagetype=\"$obj->ClassName\" | |
class=\"" | |
1886: . $this->getClasses() . "\">" . "<ins class=\"jstree-icon\"> </ins>" | |
1887: . "<a href=\"" . $this->getLink() . "\" title=\"" . _t('LeftAndMain.PAGETYPE','Page type: ') | |
1888: . "$obj->class\" ><ins class=\"jstree-icon\"> </ins><span class=\"text\">" . | |
($obj->TreeTitle) | |
1889: . "</span></a>"; | |
1890: } | |
1891: | |
Trace | |
===== | |
LeftAndMain_TreeNode->forTemplate() | |
LeftAndMain.php:960 | |
LeftAndMain->updatetreenodes(SS_HTTPRequest) | |
RequestHandler.php:288 | |
RequestHandler->handleAction(SS_HTTPRequest,updatetreenodes) | |
Controller.php:194 | |
Controller->handleAction(SS_HTTPRequest,updatetreenodes) | |
RequestHandler.php:200 | |
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) | |
Controller.php:153 | |
Controller->handleRequest(SS_HTTPRequest,DataModel) | |
LeftAndMain.php:441 | |
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel) | |
AdminRootController.php:93 | |
AdminRootController->handleRequest(SS_HTTPRequest,DataModel) | |
Director.php:360 | |
Director::handleRequest(SS_HTTPRequest,Session,DataModel) | |
Director.php:152 | |
Director::direct(/admin/pages/updatetreenodes,DataModel) | |
main.php:189 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment