Title: Frontend error
Last modified: August 30, 2020

---

# Frontend error

 *  Resolved [Andrea Ottomanelli](https://wordpress.org/support/users/ottoandry/)
 * (@ottoandry)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/frontend-error-2/)
 * Hello,
    I have a problem. My site does not allow anyone (except for admins) to
   access the admin panel. I realized that the login iframe only works there and
   not in the frontend. How can I do? Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Alexandre Froger](https://wordpress.org/support/users/frogerme/)
 * (@frogerme)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/frontend-error-2/#post-13336347)
 * Hello [@ottoandry](https://wordpress.org/support/users/ottoandry/)
 * What do you mean by “the login iframe only works [in the admin panel] and not
   in the frontend”?
    Do you have browser logs showing any issue? Do you have PHP
   logs on your server showing any issue? Do you have WPRUS logs showing any issue?
 * Are you testing in an incognito window in Chrome?
    If yes, is “Block third-party
   cookies” slider set to active? (“When on, sites can’t use cookies that track 
   you across the web. Features on some sites may break”). If testing in incognito
   in another browser, is an equivalent feature active? Are you testing with `https`
   enabled, as it is required for cross-domain authentication?
 * I tested with 2 WordPress installs on 2 separate domains and servers, both with
   WooCommerce with a non-admin user (StoreFront theme on one, a custom theme on
   the other). Both test websites disallow this user from accessing the WordPress
   admin panel (logging in goes directing to the front-facing `my-account` page).
   The test was successful.
 * A way to troubleshoot in the browser is to look at the “Network” dev panel in
   Chrome (right click > Inspect Element > Network is a fast way to access it).
   
   Then, in the Networks panel, filter the results by entering `wprus` ; when logging
   in, you will the see calls to `?wprusdata=[encrypted]&token=[unique_nonce]`. 
   Clicking that entry gives you the details of the request. In the “Response Headers”
   section, you should see a bunch of “Set-Cookie” entries, including `Set-Cookie:
   wordpress_logged_in_[hash]; path=[path]; SameSite=None; secure`. In case of issue,
   there should be a yellow warning icon next to the “Set-Cookie” entry. Please 
   note that the only relevant one is the `Set-Cookie: wordpress_logged_in_[hash]`
   entry – the others are not involved in the authentication process.
 * Please let me know if you have more information for me to help.
 *  Thread Starter [Andrea Ottomanelli](https://wordpress.org/support/users/ottoandry/)
 * (@ottoandry)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/frontend-error-2/#post-13340434)
 * Hi, I have already checked with network on chrome and the iframe page is not 
   showing.
    I have also unblocked (incognito) third-party cookies.
    -  This reply was modified 5 years, 9 months ago by [Andrea Ottomanelli](https://wordpress.org/support/users/ottoandry/).
 *  Plugin Author [Alexandre Froger](https://wordpress.org/support/users/frogerme/)
 * (@frogerme)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/frontend-error-2/#post-13341937)
 * Hi,
    Could you confirm if the issue happens with a WordPress default theme or
   StoreFront? The iframe is included in the standard `wp_footer` action hook.
    -  This reply was modified 5 years, 9 months ago by [Alexandre Froger](https://wordpress.org/support/users/frogerme/).
 *  Plugin Author [Alexandre Froger](https://wordpress.org/support/users/frogerme/)
 * (@frogerme)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/frontend-error-2/#post-13374154)
 * No activity after 7 days ; guidance provided ; marking as Resolved.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Frontend error’ is closed to new replies.

 * ![](https://ps.w.org/wp-remote-users-sync/assets/icon-256x256.png?rev=2260728)
 * [WP Remote Users Sync](https://wordpress.org/plugins/wp-remote-users-sync/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-remote-users-sync/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-remote-users-sync/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-remote-users-sync/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-remote-users-sync/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-remote-users-sync/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Alexandre Froger](https://wordpress.org/support/users/frogerme/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/frontend-error-2/#post-13374154)
 * Status: resolved