Title: Calling non-static function modal_login_btn error
Last modified: August 21, 2016

---

# Calling non-static function modal_login_btn error

 *  Resolved [epsilon1983](https://wordpress.org/support/users/epsilon1983/)
 * (@epsilon1983)
 * [13 years ago](https://wordpress.org/support/topic/calling-non-static-function-modal_login_btn-error/)
 * I was getting an error in Black Box debug bar about the non-static method modal_login_btn
   being called as a static method. So I went in to class-wp-modal-login.php and
   added the word “static” to the function. Now I’ve got no errors.
 * The plugin is great, thanks for all the work!
 * [http://wordpress.org/extend/plugins/wp-modal-login/](http://wordpress.org/extend/plugins/wp-modal-login/)

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

 *  Plugin Author [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * (@brainfestation)
 * [13 years ago](https://wordpress.org/support/topic/calling-non-static-function-modal_login_btn-error/#post-3801486)
 * This bug is fixed in the next update this weekend. Not sure how I missed that
   before rollout 🙂
 *  Plugin Author [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * (@brainfestation)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/calling-non-static-function-modal_login_btn-error/#post-3801550)
 * This has been resolved in 2.0.1 now available for download

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

The topic ‘Calling non-static function modal_login_btn error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-modal-login_999999.svg)
 * [WP Modal Login](https://wordpress.org/plugins/wp-modal-login/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-modal-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-modal-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-modal-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-modal-login/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/calling-non-static-function-modal_login_btn-error/#post-3801550)
 * Status: resolved