After this error : Notice: Undefined variable: newValues in gedmo/doctrine-extensions/lib/Gedmo/Loggable/LoggableListener.php line 264 I'm seeing the var $newValues wasn't set for the next condition.
@@ -238,8 +238,8 @@ class LoggableListener extends MappedEventSubscriber
}
$uow = $om->getUnitOfWork();
$logEntry->setObjectId($objectId);
+ $newValues = array();
if ($action !== self::ACTION_REMOVE && isset($config['versioned'])) {
- $newValues = array();
foreach ($ea->getObjectChangeSet($uow, $object) as $field => $changes) {
if (!in_array($field, $config['versioned'])) {
continue;