I had a copy of 5.9.5, restoring this has fixed my error.
I have found that if I logged on as an admin it was fine, but logging on as an editor caused the issue.
This is the php error
[23-Apr-2019 04:22:09 UTC] PHP Fatal error: Uncaught Error: Call to undefined method AAM_Core_Object_Uri::getConfig() in /volume1/web/stjohns/wp-content/plugins/advanced-access-manager/Application/Core/Object/Uri.php:190
Stack trace:
#0 /volume1/web/stjohns/wp-content/plugins/advanced-access-manager/Application/Core/Subject.php(372): AAM_Core_Object_Uri->mergeOption(Array)
#1 /volume1/web/stjohns/wp-content/plugins/advanced-access-manager/Application/Core/Object/Uri.php(92): AAM_Core_Subject->inheritFromParent(‘uri’)
#2 /volume1/web/stjohns/wp-content/plugins/advanced-access-manager/Application/Core/Subject.php(250): AAM_Core_Object_Uri->__construct(Object(AAM_Core_Subject_User), 0, NULL)
#3 /volume1/web/stjohns/wp-content/plugins/advanced-access-manager/Application/Shared/Manager.php(191): AAM_Core_Subject->getObject(‘uri’)
#4 /volume1/web/stjohns/wp-content/plugins/advanced-access-manager/Application/Shared/Manager.php(149): AAM_Shared_Manager->checkURIAccess()
#5 /volume1/web/stjohns/wp-includes/class-wp-hook.php(286): AAM_Shared_Manager->init(”)
# in /volume1/web/stjohns/wp-content/plugins/advanced-access-manager/Application/Core/Object/Uri.php on line 190
-
This reply was modified 7 years, 1 month ago by
mickwall.
Thanks for the fast work, that has fixed that issue,
@mickwall,
Appreciate your feedback that was super helpful. The root of the problem was in incorrect code implementation that seems like was there for couple releases. The recent changes to the AAM core revealed it.
The error appears when Multiple Roles Support is enabled and URI Access feature is used.
Regards,
Vasyl
Hello
After uploading your patch, i am still getting the same error.
Any suggestions?
Thank you
@yebach,
Hm, I’m wondering who that is possible. Please try to update the plugin to the latest version.
Keep me updated.
Vasyl
Hello. After the last patch you uploaded the thing worked. Thank you