Title: Static call notices
Last modified: August 24, 2016

---

# Static call notices

 *  [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/static-call-notices/)
 * Hi there. Great plugin, but there’s a notice being raised (I use blackbox-admin-
   bar to see the notices):
 *     ```
       Strict 	Non-static method GFCPTAddon::get_base_path() should not be called statically on line 55 in file /Volumes/Sites/wordpress_plugins/wp_unittest/wordpress/wp-content/plugins/gravity-forms-custom-post-types/gfcptaddon.php
       Strict 	Non-static method GFCPTAddon::get_base_path() should not be called statically on line 58 in file /Volumes/Sites/wordpress_plugins/wp_unittest/wordpress/wp-content/plugins/gravity-forms-custom-post-types/gfcptaddon.php
       ```
   
 * Cheers,
    Vinny
 * [https://wordpress.org/plugins/gravity-forms-custom-post-types/](https://wordpress.org/plugins/gravity-forms-custom-post-types/)

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

 *  [dblinks](https://wordpress.org/support/users/dblinks/)
 * (@dblinks)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/static-call-notices/#post-6146197)
 * Same using Query Monitor 2 PHP Strict notices :
 * wp-content/plugins/gravity-forms-custom-post-types/gfcptaddon.php:55
 * and
 * wp-content/plugins/gravity-forms-custom-post-types/gfcptaddon.php:58
 * —
 * GFCPTAddon::get_base_path()
    GFCPTAddon::init() do_action(‘init’)
 *  [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/static-call-notices/#post-6146294)
 * same here
 *  [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/static-call-notices/#post-6146295)
 * The fix is here: [https://github.com/bradvin/gravity-forms-custom-post-types/issues/1](https://github.com/bradvin/gravity-forms-custom-post-types/issues/1)
 * And it seems it’s a bug only in the WP SVN version since the Github commit from
   2 years ago had it already: [https://github.com/bradvin/gravity-forms-custom-post-types/commit/23e3901790cf210903176d876989adeb5c253b7a#diff-ddc9e1f4390b2faeb10ff5b0503d7e46R121](https://github.com/bradvin/gravity-forms-custom-post-types/commit/23e3901790cf210903176d876989adeb5c253b7a#diff-ddc9e1f4390b2faeb10ff5b0503d7e46R121)
 * Just didn’t make it to WP SVN somehow…
 *  [dblinks](https://wordpress.org/support/users/dblinks/)
 * (@dblinks)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/static-call-notices/#post-6146296)
 * Thanks Clifford !

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

The topic ‘Static call notices’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-custom-post-types/assets/icon-256x256.png?
   rev=2542252)
 * [Gravity Forms + Custom Post Types](https://wordpress.org/plugins/gravity-forms-custom-post-types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-custom-post-types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [dblinks](https://wordpress.org/support/users/dblinks/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/static-call-notices/#post-6146296)
 * Status: not resolved