Title: php warnings &#8211; non static function
Last modified: August 22, 2016

---

# php warnings – non static function

 *  Resolved [Justin Fletcher](https://wordpress.org/support/users/justinticktock/)
 * (@justinticktock)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-non-static-function/)
 * Hi Mika,
 * There are some php warnings coming through, from the declaration of the function`
   join_site( )` within the JMM class.
 * can you add “static” explicitly to the function.
 * `static function join_site( )`
 * cheers,
 * Justin
 * [https://wordpress.org/plugins/join-my-multisite/](https://wordpress.org/plugins/join-my-multisite/)

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

 *  Plugin Author [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-non-static-function/#post-5244346)
 * Done in 1.7.5 – Sorry about the delay, 4.0’s been busy!
 *  Thread Starter [Justin Fletcher](https://wordpress.org/support/users/justinticktock/)
 * (@justinticktock)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-non-static-function/#post-5244350)
 * Thanks for that.. you should all put your feet up with a drink in your hand 🙂

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

The topic ‘php warnings – non static function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/join-my-multisite_e0d5c8.svg)
 * [Join My Multisite](https://wordpress.org/plugins/join-my-multisite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/join-my-multisite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/join-my-multisite/)
 * [Active Topics](https://wordpress.org/support/plugin/join-my-multisite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/join-my-multisite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/join-my-multisite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Justin Fletcher](https://wordpress.org/support/users/justinticktock/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-non-static-function/#post-5244350)
 * Status: resolved