Title: Theme My Login &#8211; Deprecated error
Last modified: August 20, 2016

---

# Theme My Login – Deprecated error

 *  [cgrray](https://wordpress.org/support/users/cgrray/)
 * (@cgrray)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-my-login-deprecated-error/)
 * I get these errors when I activate Theme My Login:
    Deprecated: Assigning the
   return value of new by reference is deprecated in D:\wamp\www\KitsapSoccer\wp-
   content\plugins\theme-my-login\theme-my-login.php on line 53,line 77 and line
   85 and Deprecated: Assigning the return value of new by reference is deprecated
   in D:\wamp\www\KitsapSoccer\wp-content\plugins\theme-my-login\includes\class-
   theme-my-login.php on line 595
 * [http://wordpress.org/extend/plugins/theme-my-login/](http://wordpress.org/extend/plugins/theme-my-login/)

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

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-my-login-deprecated-error/#post-2471196)
 * This has to be done for PHP4.
 *  Thread Starter [cgrray](https://wordpress.org/support/users/cgrray/)
 * (@cgrray)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-my-login-deprecated-error/#post-2471197)
 * So if I’m running php5 the plugin won’t work?
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-my-login-deprecated-error/#post-2471203)
 * Of course it will. That is a notice, not an error. Turn off WP_DEBUG.
 *  [deadweasel](https://wordpress.org/support/users/deadweasel/)
 * (@deadweasel)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-my-login-deprecated-error/#post-2471227)
 * Hey! Great plugin idea! Does exactly what I was looking to do!
    The only gripe
   I have is regarding this very “problem”.
 * I’m not using WP_DEBUG, but I do get those errors in my server’s error log, which
   I tail while experimenting with the site coding. Almost every hit on the site
   results in a flood of info regarding the deprecated warnings, so it tends to 
   make for a bit of a mess if I screw something up and need to see where the error
   I’m actually interested in happened.
 * For one-off purposes, and because I’m still cutting my teeth with PHP overall,
   what needs to change in the code to resolve those warnings? A little research
   pointed to the use of =&.
    If I’m not mistaken, removing the ‘&’ should resolve
   the warnings, right?
 * Thanks a bunch!
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-my-login-deprecated-error/#post-2471228)
 * [@deadweasel](https://wordpress.org/support/users/deadweasel/): Yes, removing
   the `&` will do it.

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

The topic ‘Theme My Login – Deprecated 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/theme-my-login-deprecated-error/#post-2471228)
 * Status: not a support question