Plugin causes a redirect loop in /admin/upgradesettings.php
Opened this issue · 2 comments
Updating a Moodle site that contains tool_advancedspamcleaner causes "ERR_TOO_MANY_REDIRECTS" message to show up in Chrome when trying to access /admin/upgradesettings.php (in Site Administration -> Notifications).
It seems that Moodle tries to configure new settings relating to this plugin, but something causes a redirection loop. We are guessing this may be related to the plugin trying to use the Akismet spam detection service. We noticed this error on 7th of March but it may have been present this whole time our site has used this plugin (installation happened on September 10th 2021).
We noticed this problem with Moodle version 3.9.12. We are using the version 2020101202 of the plugin
Edit (21st of March): The above text originally mentioned Freshcalm virus database tool to be a possible cause of the problem, but the cause has since been identified to be Akismet
Deleting the /plugins/akismet folder removes the redirection loop, so the problem is related to something in that folder