Paragraphs no longer have their own author, check the parent entity instead.
public function getOwner() {
$parent = $this
->getParentEntity();
if ($parent instanceof EntityOwnerInterface) {
return $parent
->getOwner();
}
else {
return NULL;
}
}