ERROR [Notice]: Undefined index: ImageID
IN POST /ss3.1/wildside/admin/pages/edit/EditForm/field/Albums/item/4/ItemEditForm/field/GalleryItems/bulkimageupload/upload
Line 131 in /Volumes/Macintosh HD 2/Documents/Design/WebServer/ss3.1/wildside/gridfield-bulk-editing-tools/code/GridFieldBulkImageUpload_Request.php

Source
======
  122: 	 */
  123: 	private function getFileRelationClassName()
  124: 	{
  125: 		$recordClass        = $this->gridField->list->dataClass;
  126: 		$recordHasOneFields = Config::inst()->get($recordClass, 'has_one', Config::INHERITED);
  127: 
  128: 		$fieldName = $this->getFileRelationName();
  129: 		if($fieldName != null)
  130: 		{
* 131: 			return $recordHasOneFields[$fieldName];
  132: 		}
  133: 		else{
  134: 			return 'File';
  135: 		}		
  136: 	}
  137: 	

Trace
=====
GridFieldBulkImageUpload_Request->getFileRelationClassName()
GridFieldBulkImageUpload_Request.php:376

GridFieldBulkImageUpload_Request->upload(SS_HTTPRequest)
RequestHandler.php:288

RequestHandler->handleAction(SS_HTTPRequest,upload)
RequestHandler.php:200

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldBulkImageUpload.php:200

GridFieldBulkImageUpload->handleBulkUpload(GridField,SS_HTTPRequest)
GridField.php:715

GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldDetailForm.php:93

GridFieldDetailForm->handleItem(GridField,SS_HTTPRequest)
GridField.php:715

GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

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/edit/EditForm/field/Albums/item/4/ItemEditForm/field/GalleryItems/bulkimageupload/upload,DataModel)
main.php:189

ERROR [User Error]: singleton() Called without a class
IN POST /ss3.1/wildside/admin/pages/edit/EditForm/field/Albums/item/4/ItemEditForm/field/GalleryItems/bulkimageupload/upload
Line 152 in /Volumes/Macintosh HD 2/Documents/Design/WebServer/ss3.1/wildside/framework/core/Core.php

Source
======
  143:  * which can be used for performance reasons and as a simple
  144:  * way to access instance methods which don't rely on instance
  145:  * data (e.g. the custom SilverStripe static handling).
  146:  *
  147:  * @param string $className
  148:  * @return Object
  149:  */
  150: function singleton($className) {
  151: 	if($className == "Config") user_error("Don't pass Config to singleton()", E_USER_ERROR);
* 152: 	if(!isset($className)) user_error("singleton() Called without a class", E_USER_ERROR);
  153: 	if(!is_string($className)) user_error("singleton() passed bad class_name: " .
       var_export($className,true),
  154: 		E_USER_ERROR);
  155: 	return Injector::inst()->get($className);
  156: }
  157: 
  158: function project() {

Trace
=====
user_error(singleton() Called without a class,256)
Core.php:152

singleton()
DataObject.php:2875

DataObject::get_one(,"ID" = 72,1)
DataObject.php:2974

DataObject::get_by_id(,72)
GridFieldBulkImageUpload_Request.php:376

GridFieldBulkImageUpload_Request->upload(SS_HTTPRequest)
RequestHandler.php:288

RequestHandler->handleAction(SS_HTTPRequest,upload)
RequestHandler.php:200

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldBulkImageUpload.php:200

GridFieldBulkImageUpload->handleBulkUpload(GridField,SS_HTTPRequest)
GridField.php:715

GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldDetailForm.php:93

GridFieldDetailForm->handleItem(GridField,SS_HTTPRequest)
GridField.php:715

GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

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/edit/EditForm/field/Albums/item/4/ItemEditForm/field/GalleryItems/bulkimageupload/upload,DataModel)
main.php:189

ERROR [User Error]: singleton() passed bad class_name: NULL
IN POST /ss3.1/wildside/admin/pages/edit/EditForm/field/Albums/item/4/ItemEditForm/field/GalleryItems/bulkimageupload/upload
Line 154 in /Volumes/Macintosh HD 2/Documents/Design/WebServer/ss3.1/wildside/framework/core/Core.php

Source
======
  145:  * data (e.g. the custom SilverStripe static handling).
  146:  *
  147:  * @param string $className
  148:  * @return Object
  149:  */
  150: function singleton($className) {
  151: 	if($className == "Config") user_error("Don't pass Config to singleton()", E_USER_ERROR);
  152: 	if(!isset($className)) user_error("singleton() Called without a class", E_USER_ERROR);
  153: 	if(!is_string($className)) user_error("singleton() passed bad class_name: " .
       var_export($className,true),
* 154: 		E_USER_ERROR);
  155: 	return Injector::inst()->get($className);
  156: }
  157: 
  158: function project() {
  159: 	global $project;
  160: 	return $project;

Trace
=====
user_error(singleton() passed bad class_name: NULL,256)
Core.php:154

singleton()
DataObject.php:2875

DataObject::get_one(,"ID" = 72,1)
DataObject.php:2974

DataObject::get_by_id(,72)
GridFieldBulkImageUpload_Request.php:376

GridFieldBulkImageUpload_Request->upload(SS_HTTPRequest)
RequestHandler.php:288

RequestHandler->handleAction(SS_HTTPRequest,upload)
RequestHandler.php:200

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldBulkImageUpload.php:200

GridFieldBulkImageUpload->handleBulkUpload(GridField,SS_HTTPRequest)
GridField.php:715

GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldDetailForm.php:93

GridFieldDetailForm->handleItem(GridField,SS_HTTPRequest)
GridField.php:715

GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

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/edit/EditForm/field/Albums/item/4/ItemEditForm/field/GalleryItems/bulkimageupload/upload,DataModel)
main.php:189

ERROR [User Error]: Uncaught ReflectionException: Class  does not exist
IN POST /ss3.1/wildside/admin/pages/edit/EditForm/field/Albums/item/4/ItemEditForm/field/GalleryItems/bulkimageupload/upload
Line 18 in /Volumes/Macintosh HD 2/Documents/Design/WebServer/ss3.1/wildside/framework/control/injector/InjectionCreator.php

Source
======
  9:   class InjectionCreator {
  10:  
  11:  	/**
  12:  	 * @param string $object
  13:  	 *					A string representation of the class to create
  14:  	 * @param array $params
  15:  	 *					An array of parameters to be passed to the constructor
  16:  	 */
  17:  	public function create($class, $params = array()) {
* 18:  		$reflector = new ReflectionClass($class);
  19:  
  20:  		if (count($params)) {
  21:  			return $reflector->newInstanceArgs($params); 
  22:  		}
  23:  		
  24:  		return $reflector->newInstance();

Trace
=====
ReflectionClass->__construct()
InjectionCreator.php:18

InjectionCreator->create(,Array)
Injector.php:491

Injector->instantiate(Array,)
Injector.php:797

Injector->get()
Core.php:155

singleton()
DataObject.php:2875

DataObject::get_one(,"ID" = 72,1)
DataObject.php:2974

DataObject::get_by_id(,72)
GridFieldBulkImageUpload_Request.php:376

GridFieldBulkImageUpload_Request->upload(SS_HTTPRequest)
RequestHandler.php:288

RequestHandler->handleAction(SS_HTTPRequest,upload)
RequestHandler.php:200

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldBulkImageUpload.php:200

GridFieldBulkImageUpload->handleBulkUpload(GridField,SS_HTTPRequest)
GridField.php:715

GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldDetailForm.php:93

GridFieldDetailForm->handleItem(GridField,SS_HTTPRequest)
GridField.php:715

GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222

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/edit/EditForm/field/Albums/item/4/ItemEditForm/field/GalleryItems/bulkimageupload/upload,DataModel)
main.php:189