Plugin Freezes when Saving Role Mapping Settings

Hi.

We’ve been using your plugin for a while and all was working well. I’ve created a new role in Discord and i’m trying to map all Memberpress tiers over to the new role in Discord. However when I do so, the plugin freezes and I get an error in the Dev Console.

jquery.min.js?ver=3.7.0:2 Uncaught RangeError: Maximum call stack size exceeded at Function.I (jquery.min.js?ver=3.7.0:2:7093) at Function.<anonymous> (jquery-migrate.min.js?ver=3.4.1:2:2898) at e.<computed> [as find] (jquery-migrate.min.js?ver=3.4.1:2:1582) at e.<computed>.find (jquery.min.js?ver=3.7.0:2:21953) at String.<anonymous> (memberpress-discord-admin.min.js?ver=1.0.17:9:46) at Function.each (jquery.min.js?ver=3.7.0:2:3179) at Object.success (memberpress-discord-admin.min.js?ver=1.0.17:7:40) at c (jquery.min.js?ver=3.7.0:2:25266) at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.7.0:2:26015) at l (jquery.min.js?ver=3.7.0:2:77721)

Loading the page back up afterwards then shows some issues and not all of the existing links before I saved are present anymore. It freezes the web page and it won’t let me remove or add any new connections. The only resolution is to Flush Mappings – but adding back the mappings afterwards causes the same issue…

I think there’s a bug somewhere in the code…

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer