“Too many redirects” ONLY when trying to access wp-admin page


I have finally solved this bug, what I have done was to create a new version of WordPress to the local server and migrated all of the site files including the database, and then I transferred it back to the live server and the bug was gone, I can now login to the wp_admin page, the issue was not from the plugins nor from the theme itself, but from the bug which suddenly occurred after updating all the plugins without updating the WordPress core to the new version.