I copied and pasted this code from your help forum:

I copied and pasted this code from your help forum: add_action( 'init', 'blockusers_init' );
function blockusers_init() {
if ( is_admin() && ! current_user_can( 'administrator' ) &&
! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
wp_redirect( home_url() );
exit;
}
}

BUT now I get this Parse error: syntax error, unexpected end of file in /home3/inger/public_html/wp-content/themes/gridmarket/functions.php on line 111

What do I do now. I tried to stop the redirection from the wordpress login bar to go to my backend superadmin login.

The child theme is gridmarket.
Please help me.
Thank you Inger