Title: Throws errors on PHP 7
Last modified: October 11, 2016

---

# Throws errors on PHP 7

 *  [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/throws-errors-on-php-7/)
 * Hi;
 * I just tried this out briefly, but it throws errors on PHP 7.0 due to calling
   non-static methods statically:
 * Deprecated: Non-static method NY_OG_Main_Admin::wpog_add_pages() should not be
   called statically in /webroot/wp-includes/plugin.php on line 524
 * It’d be great to see this fixed in a future release

Viewing 1 replies (of 1 total)

 *  Thread Starter [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/throws-errors-on-php-7/#post-8275334)
 * Just a quick note – it’s not just that single error – the admin pages are literally
   fully with similar errors.

Viewing 1 replies (of 1 total)

The topic ‘Throws errors on PHP 7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-open-graph_77c3b0.svg)
 * [WP Open Graph](https://wordpress.org/plugins/wp-open-graph/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-open-graph/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-open-graph/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-open-graph/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-open-graph/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-open-graph/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/throws-errors-on-php-7/#post-8275334)
 * Status: not resolved