Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Error Viewing Files & Images after upgrading to 2.3.2

Go to End



Community Member, 33 Posts

17 July 2009 at 9:28am

I've upgraded the site from 2.3.1 to 2.3.2. I ran /dev/build and flushed the url, but I still receive the following error when I click on the Files & Images tab. Any advice?


[Notice] Undefined index: Folder_UnusedAssetsField
GET /admin/assets/
Line 157 in /home/content/s/j/b/sjbmaine/html/markwright/sapphire/core/ClassInfo.php

148 	/**
149 	 * @todo Improve documentation
150 	 */
151 	static function ancestry($class, $onlyWithTables = false) {
152 		global $_ALL_CLASSES;
154 		if(is_object($class)) $class = $class->class;
155 		else if(!is_string($class)) user_error("Bad class value " . var_export($class, true) . " passed to ClassInfo::ancestry()", E_USER_WARNING);
157 		$items = $_ALL_CLASSES['parents'][$class];
158 		$items[$class] = $class;
159 		if($onlyWithTables) foreach($items as $item) {
160 			if(!DataObject::has_own_table($item)) unset($items[$item]);
161 		}
162 		return $items;
163 	}
Line 451 of Object.php
Line 42 of CompositeField.php
Line 429 of Folder.php
Line 356 of Folder.php
Line 280 of AssetAdmin.php
Line 925 of LeftAndMain.php

Line 550 of ViewableData.php
Line 1002 of ViewableData.php
Line 591 of ViewableData.php
Line 29 of
Line 354 of SSViewer.php
Line 773 of ViewableData.php
Line 484 of LeftAndMain.php

Line 408 of ViewableData.php
Line 983 of ViewableData.php
Line 71 of
Line 354 of SSViewer.php
Line 166 of Controller.php
Line 129 of RequestHandler.php
Line 122 of Controller.php
Line 277 of Director.php
Line 121 of Director.php
Line 118 of main.php