[Notice] Use of undefined constant none - assumed 'none' GET /admin/pages/edit/show/22 Line 847 in server-dir/framework/control/injector/Injector.php
Source 838 * A string representation of the class to create
839 * @param array $params
840 * An array of parameters to be passed to the constructor
841 */
842 public function create($class, $params = array()) {
843 $reflector = new ReflectionClass($class);
844 if (count($params)) {
845 return $reflector->newInstanceArgs($params);
846 }
847 return $reflector->newInstance();
848 }
849 }
850
851 class SilverStripeInjectionCreator {
852 /**
853 *
Trace ReflectionClass->newInstance()
Injector.php:847
InjectionCreator->create(ClientLogin,Array)
Injector.php:486
Injector->instantiate(Array,ClientLogin)
Injector.php:787
Injector->get(ClientLogin)
Core.php:341
singleton(ClientLogin)
CMSMain.php:445
CMSMain->generatePageIconsCss()
CMSMain.php:60
CMSMain->init()
Controller.php:139
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:357
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel)
AdminRootController.php:89
AdminRootController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/admin/pages/edit/show/22,DataModel)
main.php:126
GET /admin/pages/edit/show/22 [Notice] Use of undefined constant none - assumed 'none' GET /admin/pages/edit/show/22 Line 847 in server-dir/framework/control/injector/Injector.php
Source 838 * A string representation of the class to create
839 * @param array $params
840 * An array of parameters to be passed to the constructor
841 */
842 public function create($class, $params = array()) {
843 $reflector = new ReflectionClass($class);
844 if (count($params)) {
845 return $reflector->newInstanceArgs($params);
846 }
847 return $reflector->newInstance();
848 }
849 }
850
851 class SilverStripeInjectionCreator {
852 /**
853 *
Trace ReflectionClass->newInstance()
Injector.php:847
InjectionCreator->create(ClientPage,Array)
Injector.php:486
Injector->instantiate(Array,ClientPage)
Injector.php:787
Injector->get(ClientPage)
Core.php:341
singleton(ClientPage)
CMSMain.php:445
CMSMain->generatePageIconsCss()
CMSMain.php:60
CMSMain->init()
Controller.php:139
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:357
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel)
AdminRootController.php:89
AdminRootController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/admin/pages/edit/show/22,DataModel)
main.php:126
GET /admin/pages/edit/show/22 [Notice] Use of undefined constant none - assumed 'none' GET /admin/pages/edit/show/22 Line 847 in server-dir/framework/control/injector/Injector.php
Source 838 * A string representation of the class to create
839 * @param array $params
840 * An array of parameters to be passed to the constructor
841 */
842 public function create($class, $params = array()) {
843 $reflector = new ReflectionClass($class);
844 if (count($params)) {
845 return $reflector->newInstanceArgs($params);
846 }
847 return $reflector->newInstance();
848 }
849 }
850
851 class SilverStripeInjectionCreator {
852 /**
853 *
Trace ReflectionClass->newInstance()
Injector.php:847
InjectionCreator->create(ServicePage,Array)
Injector.php:486
Injector->instantiate(Array,ServicePage)
Injector.php:787
Injector->get(ServicePage)
Core.php:341
singleton(ServicePage)
CMSMain.php:445
CMSMain->generatePageIconsCss()
CMSMain.php:60
CMSMain->init()
Controller.php:139
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:357
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel)
AdminRootController.php:89
AdminRootController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/admin/pages/edit/show/22,DataModel)
main.php:126
GET /admin/pages/edit/show/22 [Notice] Use of undefined constant none - assumed 'none' GET /admin/pages/edit/show/22 Line 847 in server-dir/framework/control/injector/Injector.php
Source 838 * A string representation of the class to create
839 * @param array $params
840 * An array of parameters to be passed to the constructor
841 */
842 public function create($class, $params = array()) {
843 $reflector = new ReflectionClass($class);
844 if (count($params)) {
845 return $reflector->newInstanceArgs($params);
846 }
847 return $reflector->newInstance();
848 }
849 }
850
851 class SilverStripeInjectionCreator {
852 /**
853 *
Trace ReflectionClass->newInstance()
Injector.php:847
InjectionCreator->create(WorkPage,Array)
Injector.php:486
Injector->instantiate(Array,WorkPage)
Injector.php:787
Injector->get(WorkPage)
Core.php:341
singleton(WorkPage)
CMSMain.php:445
CMSMain->generatePageIconsCss()
CMSMain.php:60
CMSMain->init()
Controller.php:139
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:357
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel)
AdminRootController.php:89
AdminRootController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/admin/pages/edit/show/22,DataModel)
main.php:126
GET /admin/pages/edit/show/22 [User Deprecated] Using outdated tab path "Root.Content.Client", please use the new location "Root.Client" instead. Called from . GET /admin/pages/edit/show/22 Line 173 in server-dir/framework/dev/Deprecation.php
Source 164
165 // Then raise the notice
166 if(substr($string,-1) != '.') $string .= ".";
167
168 $string .= " Called from " . self::get_called_method_from_trace($backtrace, 2) . '.';
169
170 if($caller) {
171 user_error($caller.' is deprecated.'.($string ? ' '.$string : ''), $level);
172 } else {
173 user_error($string, $level);
174 }
175
176 }
177 }
178
179 /**
Trace Using outdated tab path "Root.Content.Client", please use the new location "Root.Client" instead. Called from .
Deprecation.php:173
Deprecation::notice(3.0.0,Using outdated tab path "Root.Content.Client", please use the new location "Root.Client" instead,4)
FieldList.php:624
FieldList->rewriteTabPath(Root.Content.Client)
FieldList.php:270
FieldList->findOrMakeTab(Root.Content.Client)
FieldList.php:106
FieldList->addFieldToTab(Root.Content.Client,TextField)
ClientPage.php:18
ClientPage->getCMSFields()
LeftAndMain.php:1025
LeftAndMain->getEditForm(22)
CMSMain.php:588
CMSMain->getEditForm()
LeftAndMain.php:1004
LeftAndMain->EditForm()
ViewableData.php:366
ViewableData->obj(EditForm,,,1)
ViewableData.php:443
ViewableData->XML_val(EditForm,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.cms.templates.Includes.CMSMain_Content.ss:94
SSViewer_DataPresenter->XML_val(EditForm,,1)
.cache.cms.templates.Includes.CMSMain_Content.ss:94
include(/var/tmp/server-dir/.cache.cms.templates.Includes.CMSMain_Content.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/tmp//server-dir/.cache.cms.templates.Includes.CMSMain_Content.ss,CMSPageEditController,,Array)
SSViewer.php:910
SSViewer->process(CMSPageEditController,)
ViewableData.php:335
ViewableData->renderWith(Array)
LeftAndMain.php:612
LeftAndMain->Content()
ViewableData.php:366
ViewableData->obj(Content,,,1)
ViewableData.php:443
ViewableData->XML_val(Content,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.framework.admin.templates.LeftAndMain.ss:36
SSViewer_DataPresenter->XML_val(Content,,1)
.cache.framework.admin.templates.LeftAndMain.ss:36
include(/var/tmp/server-dir/.cache.framework.admin.templates.LeftAndMain.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/tmp//server-dir/.cache.framework.admin.templates.LeftAndMain.ss,CMSPageEditController,,Array)
SSViewer.php:910
SSViewer->process(CMSPageEditController,)
ViewableData.php:335
ViewableData->renderWith(SSViewer)
LeftAndMain.php:487
{closure}()
call_user_func(Closure)
PjaxResponseNegotiator.php:75
PjaxResponseNegotiator->respond(SS_HTTPRequest)
LeftAndMain.php:464
LeftAndMain->show(SS_HTTPRequest)
Controller.php:205
Controller->handleAction(SS_HTTPRequest)
RequestHandler.php:184
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:357
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel)
AdminRootController.php:89
AdminRootController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/admin/pages/edit/show/22,DataModel)
main.php:126
GET /admin/pages/edit/show/22 [User Deprecated] Using outdated tab path "Root.Content.Client", please use the new location "Root.Client" instead. Called from . GET /admin/pages/edit/show/22 Line 173 in server-dir/framework/dev/Deprecation.php
Source 164
165 // Then raise the notice
166 if(substr($string,-1) != '.') $string .= ".";
167
168 $string .= " Called from " . self::get_called_method_from_trace($backtrace, 2) . '.';
169
170 if($caller) {
171 user_error($caller.' is deprecated.'.($string ? ' '.$string : ''), $level);
172 } else {
173 user_error($string, $level);
174 }
175
176 }
177 }
178
179 /**
Trace Using outdated tab path "Root.Content.Client", please use the new location "Root.Client" instead. Called from .
Deprecation.php:173
Deprecation::notice(3.0.0,Using outdated tab path "Root.Content.Client", please use the new location "Root.Client" instead,4)
FieldList.php:624
FieldList->rewriteTabPath(Root.Content.Client)
FieldList.php:270
FieldList->findOrMakeTab(Root.Content.Client)
FieldList.php:106
FieldList->addFieldToTab(Root.Content.Client,TextareaField)
ClientPage.php:19
ClientPage->getCMSFields()
LeftAndMain.php:1025
LeftAndMain->getEditForm(22)
CMSMain.php:588
CMSMain->getEditForm()
LeftAndMain.php:1004
LeftAndMain->EditForm()
ViewableData.php:366
ViewableData->obj(EditForm,,,1)
ViewableData.php:443
ViewableData->XML_val(EditForm,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.cms.templates.Includes.CMSMain_Content.ss:94
SSViewer_DataPresenter->XML_val(EditForm,,1)
.cache.cms.templates.Includes.CMSMain_Content.ss:94
include(/var/tmp/server-dir/.cache.cms.templates.Includes.CMSMain_Content.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/tmp//server-dir/.cache.cms.templates.Includes.CMSMain_Content.ss,CMSPageEditController,,Array)
SSViewer.php:910
SSViewer->process(CMSPageEditController,)
ViewableData.php:335
ViewableData->renderWith(Array)
LeftAndMain.php:612
LeftAndMain->Content()
ViewableData.php:366
ViewableData->obj(Content,,,1)
ViewableData.php:443
ViewableData->XML_val(Content,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.framework.admin.templates.LeftAndMain.ss:36
SSViewer_DataPresenter->XML_val(Content,,1)
.cache.framework.admin.templates.LeftAndMain.ss:36
include(/var/tmp/server-dir/.cache.framework.admin.templates.LeftAndMain.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/tmp//server-dir/.cache.framework.admin.templates.LeftAndMain.ss,CMSPageEditController,,Array)
SSViewer.php:910
SSViewer->process(CMSPageEditController,)
ViewableData.php:335
ViewableData->renderWith(SSViewer)
LeftAndMain.php:487
{closure}()
call_user_func(Closure)
PjaxResponseNegotiator.php:75
PjaxResponseNegotiator->respond(SS_HTTPRequest)
LeftAndMain.php:464
LeftAndMain->show(SS_HTTPRequest)
Controller.php:205
Controller->handleAction(SS_HTTPRequest)
RequestHandler.php:184
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:357
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel)
AdminRootController.php:89
AdminRootController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/admin/pages/edit/show/22,DataModel)
main.php:126
GET /admin/pages/edit/show/22 [User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'File' GET /admin/pages/edit/show/22 Line 675 in server-dir/framework/core/Object.php
Source 666 default :
667 throw new Exception (
668 "Object->__call(): extra method $method is invalid on $this->class:"
669 . var_export($config, true)
670 );
671 }
672 } else {
673 // Please do not change the exception code number below.
674
675 throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'", 2175);
676 }
677 }
678
679 // --------------------------------------------------------------------------------------------------------------
680
681 /**
Trace Object->__call(forTemplate,Array)
GridFieldDataColumns.php:223
File->forTemplate()
GridFieldDataColumns.php:223
GridFieldDataColumns->castValue(GridField,ProjectFile,File)
GridFieldDataColumns.php:138
GridFieldDataColumns->getColumnContent(GridField,FilesObject,ProjectFile)
GridField.php:450
GridField->getColumnContent(FilesObject,ProjectFile)
GridField.php:338
GridField->FieldHolder()
ViewableData.php:366
ViewableData->obj(FieldHolder,,,1)
ViewableData.php:443
ViewableData->XML_val(FieldHolder,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.framework.templates.forms.TabSet.ss:67
SSViewer_DataPresenter->XML_val(FieldHolder,,1)
.cache.framework.templates.forms.TabSet.ss:67
include(/var/tmp/server-dir/.cache.framework.templates.forms.TabSet.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/tmp//server-dir/.cache.framework.templates.forms.TabSet.ss,TabSet,,Array)
SSViewer.php:910
SSViewer->process(TabSet,)
ViewableData.php:335
ViewableData->renderWith(Array)
TabSet.php:83
TabSet->FieldHolder()
ViewableData.php:366
ViewableData->obj(FieldHolder,,,1)
ViewableData.php:443
ViewableData->XML_val(FieldHolder,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.cms.templates.Includes.CMSMain_EditForm.ss:58
SSViewer_DataPresenter->XML_val(FieldHolder,,1)
.cache.cms.templates.Includes.CMSMain_EditForm.ss:58
include(/var/tmp/server-dir/.cache.cms.templates.Includes.CMSMain_EditForm.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/tmp//server-dir/.cache.cms.templates.Includes.CMSMain_EditForm.ss,Form,,Array)
SSViewer.php:910
SSViewer->process(Form,)
ViewableData.php:335
ViewableData->renderWith(Array)
Form.php:1327
Form->forTemplate()
ViewableData.php:444
ViewableData->XML_val(EditForm,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.cms.templates.Includes.CMSMain_Content.ss:94
SSViewer_DataPresenter->XML_val(EditForm,,1)
.cache.cms.templates.Includes.CMSMain_Content.ss:94
include(/var/tmp/server-dir/.cache.cms.templates.Includes.CMSMain_Content.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/tmp//server-dir/.cache.cms.templates.Includes.CMSMain_Content.ss,CMSPageEditController,,Array)
SSViewer.php:910
SSViewer->process(CMSPageEditController,)
ViewableData.php:335
ViewableData->renderWith(Array)
LeftAndMain.php:612
LeftAndMain->Content()
ViewableData.php:366
ViewableData->obj(Content,,,1)
ViewableData.php:443
ViewableData->XML_val(Content,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(XML_val,Array)
.cache.framework.admin.templates.LeftAndMain.ss:36
SSViewer_DataPresenter->XML_val(Content,,1)
.cache.framework.admin.templates.LeftAndMain.ss:36
include(/var/tmp/server-dir/.cache.framework.admin.templates.LeftAndMain.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/var/tmp//server-dir/.cache.framework.admin.templates.LeftAndMain.ss,CMSPageEditController,,Array)
SSViewer.php:910
SSViewer->process(CMSPageEditController,)
ViewableData.php:335
ViewableData->renderWith(SSViewer)
LeftAndMain.php:487
{closure}()
call_user_func(Closure)
PjaxResponseNegotiator.php:75
PjaxResponseNegotiator->respond(SS_HTTPRequest)
LeftAndMain.php:464
LeftAndMain->show(SS_HTTPRequest)
Controller.php:205
Controller->handleAction(SS_HTTPRequest)
RequestHandler.php:184
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:357
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel)
AdminRootController.php:89
AdminRootController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/admin/pages/edit/show/22,DataModel)
main.php:126