silverstripe-locator icon indicating copy to clipboard operation
silverstripe-locator copied to clipboard

Uncaught ReflectionException: Class VersionedDataObject does not exist

Open dacar opened this issue 7 years ago • 8 comments

After /dev/build/?flush=1 i get the following error. Can you please help and give advice?

Source 5 /** 6 * A class for creating new objects by the injector. 7 * 8 * @package framework 9 * @subpackage injector 10 */ 11 class InjectionCreator implements Factory { 12 13 public function create($class, array $params = array()) { 14 $reflector = new ReflectionClass($class); 15 16 if (count($params)) { 17 return $reflector->newInstanceArgs($params); 18 } 19 20 return $reflector->newInstance(); Trace ReflectionClass->__construct(VersionedDataObject) InjectionCreator.php:14 InjectionCreator->create(VersionedDataObject,Array) Injector.php:555 Injector->instantiate(Array) Injector.php:864 Injector->get(VersionedDataObject,,Array) Injector.php:902 Injector->createWithArgs(VersionedDataObject,Array)

dacar avatar May 30 '17 21:05 dacar