The problem is caused by one of the Permalink Manager’s functions that parses the endpoints from the requested URL. Could you try to fix this issue by using the below code snippet?
If the code still does not work, there are two possibilities – the code is inactive, or you removed the first exclamation mark instead of the last one. There were two exclamation marks in the second line – the first one should stay intact.
If this does not help, please send me the screenshot with the fragment where the full snippet’s code was pasted.
To provide more context, please make the screenshot from your admin dashboard with the section where the code snippet is inserted. You can upload it to e.g. https://imgur.com/
To confirm this and compare, please deactivate the plugin from “Plugins” dashboard and send me the screenshot with the content displayed on that specific page.
This reply was modified 3 weeks ago by Maciej Bis.