Title: Non-Static Method called statically
Last modified: May 21, 2018

---

# Non-Static Method called statically

 *  Resolved [alpipego](https://wordpress.org/support/users/alpipego/)
 * (@alpipego)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/non-static-method-called-statically/)
 * `get_post_type_archive_post_type()` is called statically in `includes/global/
   meta.php:198` since it’s the only use of this method, I’d suggest just making
   the method `static` in `includes/global/common.php:31`.
    -  This topic was modified 7 years, 10 months ago by [alpipego](https://wordpress.org/support/users/alpipego/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP Simple SEO](https://wordpress.org/support/users/wpsimpleseo/)
 * (@wpsimpleseo)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/non-static-method-called-statically/#post-10303226)
 * Thanks, fixed in 1.0.8.

Viewing 1 replies (of 1 total)

The topic ‘Non-Static Method called statically’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-simple-seo_d9dbdb.svg)
 * [WP Simple SEO](https://wordpress.org/plugins/wp-simple-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-seo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP Simple SEO](https://wordpress.org/support/users/wpsimpleseo/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/non-static-method-called-statically/#post-10303226)
 * Status: resolved