ElevatoDigital / dewdrop

Dewdrop makes writing complex WordPress plugins simpler by providing a sensible project layout and developer tools.
Other
11 stars 3 forks source link

error when throwing an error when determining activity log entry type #79

Closed stevepowell2000 closed 8 years ago

stevepowell2000 commented 8 years ago

There is an error when throwing an error. Catchable fatal error: Object of class Dewdrop\ActivityLog\Handler\TableHandler could not be converted to string in .../zend/vendor/deltasystems/dewdrop/Dewdrop/ActivityLog/Entry.php on line 48

https://github.com/DeltaSystems/dewdrop/blob/530e055ddb72e7429fcc808723f11bce05fc9401/Dewdrop/ActivityLog/Entry.php#L48

not sure if this should be throw new EntityNotFound("Could not find {$handler->getName()} entity with ID of {$id}"); or throw new EntityNotFound("Could not find {$handler->getFullyQualifiedName()} entity with ID of {$id}");

griffbrad commented 8 years ago

https://github.com/DeltaSystems/dewdrop/commit/74b530314d28f77eca5fcf2868b4d9a7f1da8881