Title: Theme_My_Login_Security::init() passes empty string to include()
Last modified: August 21, 2016

---

# Theme_My_Login_Security::init() passes empty string to include()

 *  Resolved [bmkdnf](https://wordpress.org/support/users/bmkdnf/)
 * (@bmkdnf)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/theme_my_login_securityinit-passes-empty-string-to-include/)
 * I took a look at my error log and there’s about 1000 notes about this. I’m assuming
   the problem is that Theme_My_Login_Security::init() on line 100 (in modules/security/
   security.php) passes the string from get_404_template() to include() without 
   checking whether it is empty.
 * Lines:
    ================================= $template = get_404_template(); include(
   $template ); =================================
 * Warning for reference:
    ================================= PHP Warning: include()[
   [function.include](https://wordpress.org/support/topic/theme_my_login_securityinit-passes-empty-string-to-include/function.include?output_format=md)]:
   Filename cannot be empty in [ROOT]/wp-content/plugins/theme-my-login/modules/
   security/security.php on line 100
 * [http://wordpress.org/extend/plugins/theme-my-login/](http://wordpress.org/extend/plugins/theme-my-login/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/theme_my_login_securityinit-passes-empty-string-to-include/#post-3680977)
 * Yes. This has already been addressed for 6.4. As a solution meanwhile, make sure
   your theme has a _404.php_.

Viewing 1 replies (of 1 total)

The topic ‘Theme_My_Login_Security::init() passes empty string to include()’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/theme_my_login_securityinit-passes-empty-string-to-include/#post-3680977)
 * Status: resolved