Title: Debug ERROR message
Last modified: August 21, 2016

---

# Debug ERROR message

 *  [raonip](https://wordpress.org/support/users/raonip/)
 * (@raonip)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/debug-error-message/)
 * Hi, when in DEBUG mode TRUE, I have the Errors Message below:
 * Strict Standards: Non-static method GFCPTAddon::get_base_path() should not be
   called statically in /Users/Raoni/Sites/ibrasurf2013/wp-content/plugins/gravity-
   forms-custom-post-types/gfcptaddon.php on line 55
 * Strict Standards: Non-static method GFCPTAddon::get_base_path() should not be
   called statically in /Users/Raoni/Sites/ibrasurf2013/wp-content/plugins/gravity-
   forms-custom-post-types/gfcptaddon.php on line 58
 * Could you have a look, please?!
 * [http://wordpress.org/plugins/gravity-forms-custom-post-types/](http://wordpress.org/plugins/gravity-forms-custom-post-types/)

Viewing 1 replies (of 1 total)

 *  [CK Hicks](https://wordpress.org/support/users/ckhicks/)
 * (@ckhicks)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/debug-error-message/#post-4342152)
 * The get_base_path() function needs to be run statically with newer versions of
   PHP – edit line 123 of gfcptaddon.php as follows:
 * `protected static function get_base_path(){`

Viewing 1 replies (of 1 total)

The topic ‘Debug ERROR message’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [CK Hicks](https://wordpress.org/support/users/ckhicks/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/debug-error-message/#post-4342152)
 * Status: not resolved