Some of you may experience the error
Fatal error: Uncaught Error: Call to a member function add_rewrite_tag() when you update AAM to the version 5.7 or higher however keep Plus Package extension or E-Commerce extension outdated.
So why does it happen?
First of all, my apology for this inconvenience, however I had to make an aggressive change to the way AAM extensions are loaded to keep up with WordPress latest updated. I also took this opportunity to prepare AAM extensions to be a stand-alone plugins that with AAM 6.0 can be installed as normal WordPress plugin. This is due to the fact that more and more WordPress dedicated hosting providers do not allow to write files outside of the
/wp-content/plugins folders. As of today all AAM extensions go to the
/wp-content/aam folder that may violate rules for some of the hosting providers.
So how to fix this error?
Instead of overwhelming you with technical aspect of the issue (which I can spend another few paragraphs writing about it), let's jump ahead and solve the error.
First of all, you need FTP access to your website. Login to your site via FTP client and navigate to the
Please Note! This is NOT
/wp-content/plugins/advanced-access-manager folder. You would be surprised how many people misinterpreted the path to AAM extensions folder.
When you navigated to mentioned above folder, simply remove ALL folders inside it. Your website should come back to live again.
Finally just go to the AAM page on your website backend and reinstall all necessary AAM extensions.