diff --git a/src/Plugin/Field/FieldWidget/ParagraphsWidget.php b/src/Plugin/Field/FieldWidget/ParagraphsWidget.php
index 2333b04001234b01b08e0bfcf6f2f3ffe603eaad..bf8633a39e19700a5466af2ad19dec5f774af0d4 100644
--- a/src/Plugin/Field/FieldWidget/ParagraphsWidget.php
+++ b/src/Plugin/Field/FieldWidget/ParagraphsWidget.php
@@ -2558,7 +2558,9 @@ class ParagraphsWidget extends WidgetBase {
   public function errorElement(array $element, ConstraintViolationInterface $error, array $form, FormStateInterface $form_state) {
     // Validation errors might be a about a specific (behavior) form element
     // attempt to find a matching element.
-    if (!empty($error->arrayPropertyPath) && $sub_element = NestedArray::getValue($element, $error->arrayPropertyPath)) {
+    $property_path_array = explode('.', $error->getPropertyPath());
+    array_shift($property_path_array);
+    if (!empty($property_path_array) && $sub_element = NestedArray::getValue($element, $property_path_array)) {
       return $sub_element;
     }
     return $element;