Title: Redirect Loop
Last modified: August 30, 2016

---

# Redirect Loop

 *  [silostar](https://wordpress.org/support/users/silostar/)
 * (@silostar)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/redirect-loop-69/)
 * I have the latest version (3.6.12) of the plugin yet a redirect loop started 
   as soon as I activated and I got locked out of my site.
 * Visiting /wp-login.php takes me to /memberlogin with the redirect loop error 
   page showing. I ended up having to delete the plugin on the backend to get back
   in. I know this has been an ongoing issue and I’d like to know how to fix it 
   as I thought this was resolved. I use wpengine and the main plugins are woocommerce
   and Paid Memberships Pro. PMPro recommends you.
 * I checked my error logs and I get this error:
 * WordPress database error You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near‘)
   LIMIT 1 /* From [/memberlogin/?redirect_to=https%3A%2F%’ at line 1 for query 
   SELECT user_id FROM wp_s3j5mg_usermeta WHERE meta_key = ‘pmproup_user_page’ AND
   meta_value IN() LIMIT 1 /* From [/memberlogin/?redirect_to=https%3A%2F%2Fsiteurl%
   2Fwp-admin%2Fadmin.php%3Fpage%3Dpmpro-paymentsettings&reauth=1] in [/wp-content/
   plugins/pmpro-user-pages/pmpro-user-pages.php:200] */ made by require(‘wp-blog-
   header.php’), wp, WP->main, do_action_ref_array, call_user_func_array, pmproup_wp,
   referer: /wp-admin/edit.php?post_status=publish&post_type=page
    WP_Posts_List_Table-
   >prepare_items
 * It has something to do with this WP_Posts_List_Table — can you help?
 * [https://wordpress.org/plugins/theme-my-login/](https://wordpress.org/plugins/theme-my-login/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [silostar](https://wordpress.org/support/users/silostar/)
 * (@silostar)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/redirect-loop-69/#post-6350870)
 * Just an fyi – the pmpro user page plugin that is in the message was deleted before
   this error came up.
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/redirect-loop-69/#post-6350980)
 * Those errors have nothing to do with TML.
 *  [huntergatherer](https://wordpress.org/support/users/huntergatherer/)
 * (@huntergatherer)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/redirect-loop-69/#post-6351113)
 * Hi Jeff,
 * I’ve been running TML with paidMembershipspro for a while with no problems until
   today. I have a page for registration that uses your shortcode, [theme-my-login].
   Every time I navigate to that page I get
    “This webpage has a redirect loop ERR_TOO_MANY_REDIRECTS”.
   This happens when **both** PMP and TML are activated.
 * When TML is activated on it’s own, it works, and does not cause the redirect 
   loop. When PMP is activated on its own, it works, and does not cause the redirect
   loop.
 * It looks like there is a conflict between both plugins. I’ll post it on the PMP
   site as well. I would appreciate you taking a look at both plugins recent updates
   to see where the issue is. Like others, I use both in combination.
 * Regards,
 * MS/HG
 *  [huntergatherer](https://wordpress.org/support/users/huntergatherer/)
 * (@huntergatherer)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/redirect-loop-69/#post-6351114)
 * Hi Jeff… Just a note to let you know I also posted the issue with PMP (slow support
   version)
    HG
 *  Thread Starter [silostar](https://wordpress.org/support/users/silostar/)
 * (@silostar)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/redirect-loop-69/#post-6351118)
 * Just an update to my issue. It is still happening, just as HunterGatherer has
   mentioned. I disabled all my plugins and as soon as I had both PMP & TML activated,
   it started again. I have tried various other methods to resolve the redirect 
   but none work.
 * (I did end up finding the one dbase table error and deleting it but that error
   was not in relation as you mentioned…sorry about that)
 * But the redirect is definitely a PMP & TML issue when used in conjunction.
 *  [huntergatherer](https://wordpress.org/support/users/huntergatherer/)
 * (@huntergatherer)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/redirect-loop-69/#post-6351119)
 * Without saying it’s a fully solved issue, I was able to eliminate the redirect
   loop at least temporarily, pending further testing.
 * How? I deleted the page where I got the redirect error. I disabled all plugins;
   then, reactivate only critical plugins, including both TML and PMP, and their
   associated ones. I recreated the page (same permalink), Recreated it as a menu
   item.
 * Testing with nothing further, shows no redirect loop.
 * I do have other important, if not absolutely essential, plugins that I have not
   activated and tested yet. But, it’s looking like there was a problem on the page
   itself. I’ll let you know if there is any change as I add full function to the
   site.
 * BTW: I did test after each step, as I was disabling the plugins. The page was
   deleted last. There were still errors even when all the plugins were disabled,
   prior to deleting the page.
 * HG/mws

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Redirect Loop’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

## Tags

 * [redirect loop](https://wordpress.org/support/topic-tag/redirect-loop/)

 * 6 replies
 * 3 participants
 * Last reply from: [huntergatherer](https://wordpress.org/support/users/huntergatherer/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/redirect-loop-69/#post-6351119)
 * Status: not a support question