I am having problems Upgrading from 2.3 rc2 to rc3:
After calling dev/build I get:
Building Database
Creating database tables
PageComment
Field PageComment.CommenterURL: created as varchar(255) character set utf8 collate utf8_general_ci
Category
Club
Competition
Event
Gallery
XXXPlayerAttribute
Match
NewsArticle
Player
Referee
Team
Trainer
SiteTree
Email_BounceRecord
[User Error] Bad class to singleton() - Email_BlackList
GET /silverstripe/dev/build
Line 263 in /var/www/silverstripe/sapphire/core/Core.php
Source
254 if(($pos = strpos($className,'_')) !== false) $className = substr($className,0,$pos);
255 if($_CLASS_MANIFEST[$className]) return $_CLASS_MANIFEST[$className];
256 }
257
258 function singleton($className) {
259 static $_SINGLETONS;
260 if(!isset($className)) user_error("singleton() Called without a class", E_USER_ERROR);
261 if(!is_string($className)) user_error("singleton() passed bad class_name: " . var_export($className,true), E_USER_ERROR);
262 if(!isset($_SINGLETONS[$className])) {
263 if(!class_exists($className)) user_error("Bad class to singleton() - $className", E_USER_ERROR);
264 $_SINGLETONS[$className] = Object::strong_create($className,null, true);
265 if(!$_SINGLETONS[$className]) user_error("singleton() Unknown class '$className'", E_USER_ERROR);
266 }
267 return $_SINGLETONS[$className];
268 }
269
Bad class to singleton() - Email_BlackList
Line 263 of Core.php
singleton(Email_BlackList)
Line 161 of DatabaseAdmin.php
DatabaseAdmin->doBuild(,1)
Line 81 of DatabaseAdmin.php
DatabaseAdmin->build()
Line 118 of DevelopmentAdmin.php
DevelopmentAdmin->build(HTTPRequest)
Line 107 of RequestHandler.php
RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
Controller->handleRequest(HTTPRequest)
Line 262 of Director.php
Director::handleRequest(HTTPRequest,Session)
Line 106 of Director.php
Director::direct(/dev/build)
Line 115 of main.php