I'm using rules module with drupal 8 in order to redirect anonymous users to the login page after registration form submission, so I created a rule with react on event "After saving new user
(rules_entity_insert:user)" because my account creation settings are : "Visitors, but administrator approval is required"
Conditions: User has role(s) - Parameter: User: @user.current_user_context:current_user, Roles: anonymous user
Actions: Page redirect - Parameter: URL: user/login
But its giving : WSOD with warning
Warning: Cannot use a scalar value as an array in Drupal\Core\Field\WidgetBase->extractFormValues() (line 366 of /var/www/html/D8/core/lib/Drupal/Core/Field/WidgetBase.php).
Any suggestion where i am missing something.