Support » Plugin: Advanced Access Manager » admin panel in infinite refresh loop
admin panel in infinite refresh loop
-
Hi – after updating the plugin, the admin panel is in an infinite refresh loop (every second it reloads). deactivating the plugin resolves the issue. Has this been reported by anyone else, and/or do you have any known conflicts?
Thanks
-
Hello,
With me is happening the same thing, the panel is in infinite refresh, never stops.
What can be done to fit this?-
This reply was modified 3 years, 9 months ago by
pablozanata.
Hello,
same problem here. This seems to be a problem with Impreza theme. When activating default WordPress theme, problem is gone:
https://themeforest.net/item/impreza-retina-responsive-wordpress-theme/6434280?ref=UpSolutionKind regards
RenéHi guys,
Alright, we have enough folks here to figure out what is special about your website setup that causes this side effect.
Can you please clarify if you have any Access Denied Redirect rules set for Administrator role or your admin user?
Regards,
VasylHi All,
We are running:
WP 5.1.1
Impreza 5.8.1no access denied rules for admin that I can see. have tried to activate AAM with wordfence deactivated and still get the same infinite refresh loop
Hello,
we are using:
WordPress 5.2.1
Impreza: 6.0.4
AAM: 5.9.7.1Also no access denied rules for admin.
Kind regards
RenéHi guys,
Is there a place where I can download the Impreza theme? This way I can try to replicate the problem.
Regards,
VasylHello,
it’s a commercial theme but if you send me a PN we will find a way 😉
Kind regards
RenéI cannot share any contact information on this forum however you can go to https://aamplugin.com website and submit a contact form (bottom menu). This way we can continue the conversation on the private channel. Then we I find the issue I’ll update everybody with the solution.
Thank you,
VasylYou’ve got mail 😊
Thanks in advance!
Got it and after activation immediately getting infinite redirects which is great news. Will come back shortly with some details.
Regards,
VasylFound the problem inside the Impreza theme. They infinitely refresh the page by trying to add the capability to the roles_user param option.
AAM also uses this hook to work with managing access to the post types.
We can debate here how’s right or wrong and conceptually I disagree with the approach of infinite page reload that is programmatically enforced by developer.
I will try to find the workaround.
Regards,
VasylThanks again. I also posted this problem in their support forum, but no response until how.
Kind regards
RenéHello guys,
I was able to prepare the workaround. For those who need more technical details about the actual problem, please refer to this thread https://forum.aamplugin.com/d/99-custom-post-type-does-not-honor-edit-delete-publish-overrides.
There is no right or wrong party in this situation. Both AAM and Impreza does aggressive work with roles and capabilities however from my point of few Impreza engineers are doing it conceptually incorrectly.
For some reasons, more and more developers assume that default WordPress roles are untouchable which in reality there is no much difference between administrator and subscriber roles.
Also, you can have a fully functioning WordPress website even without the Administrator role at all. You can literally create a custom role, assign all capabilities to it and delete the Administrator role and themes like Impreza most definitely will have some troubles.
Unfortunately, I’m observing this type of mistake more and more often because while WordPress access management is relatively simple, it is also has some interesting exceptions. So it is hard to blame anybody for not taking 20-40 hours to deeply learn some of the WordPress core aspects. I’m considering to start Office Hours or Webinar to start teaching folks WordPress core and access controls. Maybe that will help a little bit.
The new release 5.9.7.2 is out that should solve your issues.
Regards,
VasylHello Vasyl,
thank you very much for your support. Everything seems to work great now!
Kind regards
René -
This reply was modified 3 years, 9 months ago by
- The topic ‘admin panel in infinite refresh loop’ is closed to new replies.