Title: Custom Registration Form Error
Last modified: August 21, 2016

---

# Custom Registration Form Error

 *  [jasnon](https://wordpress.org/support/users/jasnon/)
 * (@jasnon)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/custom-registration-form-error/)
 * Hi Jeff,
 * Thanks so much for your support and hard work on this plugin, it’s an integral
   part of my website. I recently discovered a problem when trying to use a custom
   registration form template:
 * I created a custom registration template and I’m using the below short code on
   my homepage to display the form:
    [theme-my-login default_action=”register” register_template
   =”custom-register-form.php” show_title=”0″ show_log_link=”0″ show_reg_link=”0″
   show_pass_link=”0″]
 * I’m experiencing issues when trying to register via the custom registration form.
   When I hit submit I am redirected to a page with this URL: [http://myblog.com/?instance=2](http://myblog.com/?instance=2)
   and the following error:
 * Fatal error: Call to a member function get_option() on a non-object in /home3/
   jasnon/public_html/nflpickem/wp-content/plugins/theme-my-login/modules/custom-
   redirection/custom-redirection.php on line 93
 * What’s weird though is if I fill out the registration form and try to register
   when I’m logged in, it works perfectly and I’m redirected to a page with this
   URL: [http://myblog.com/?instance=1](http://myblog.com/?instance=1).
 * I know it’s a conflict with the custom redirection module because when I turn
   that off it seems to work either way (both logged out and/or logged in). However,
   I’m hoping to still use the custom redirection module because it meets many of
   my needs.
 * Let me know if I can provide any more information to help with this issue.
 * Thanks again.
 * [http://wordpress.org/extend/plugins/theme-my-login/](http://wordpress.org/extend/plugins/theme-my-login/)

Viewing 1 replies (of 1 total)

 *  [charldarwin](https://wordpress.org/support/users/charldarwin/)
 * (@charldarwin)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/custom-registration-form-error/#post-3867961)
 * Hi jasnon, I’m getting the some problem, I would like to know if you could find
   a solution for it in other forums, I have been looking for info about it but 
   I can’t solve it yet.
 * But in my case is when I use it in a Modal Window.

Viewing 1 replies (of 1 total)

The topic ‘Custom Registration Form Error’ 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

 * [custom form](https://wordpress.org/support/topic-tag/custom-form/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)
 * [tml](https://wordpress.org/support/topic-tag/tml/)

 * 1 reply
 * 2 participants
 * Last reply from: [charldarwin](https://wordpress.org/support/users/charldarwin/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/custom-registration-form-error/#post-3867961)
 * Status: not resolved