Description
I had this issue when using s2Member and qTranslate X that mess up the s2member config pages.
It seems qTranslate-X will generate a URL like this https://web.address/en/?q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&q=/en/&ws_plugin__s2member_menu_pages_css=769653673&ver=150311-3854561339
which causing s2Member config pages missing css and js.
The reason is probably because:
in includes/classes/menu-pages.inc.php
file, two lines are generating css and js files without any path that generate loops when qTranslate incorrectly insert their language parameter/path along with the path.
wp_enqueue_style('ws-plugin--s2member-menu-pages', home_url('/?ws_plugin__s2member_menu_pages_css=...
This might be an issue in qTranslate-X itself, not in s2Member.
But to quickly solve the compatibility issue, I want to change s2member code to have a solution (will create a PR) instead of going deeper in qTranslate-X.
Details can be see here too:
https://wordpress.org/support/topic/too-many-redirects-when-using-s2member?replies=6#post-7166214