Title: PHP Strict Standards Warning
Last modified: August 30, 2016

---

# PHP Strict Standards Warning

 *  Resolved [Ren Ventura](https://wordpress.org/support/users/engagewp/)
 * (@engagewp)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-strict-standards-warning-2/)
 * Hi, Brad. I wanted to give a friendly heads up about this because I just noticed
   it filling my error log to the tune of 28MB.
 * I see in this plugin’s GitHub repo that version 3.0.1 is different from the 3.0.1
   in the plugin repo. Specifically, the plugin repo version is calling `get_base_path()`
   as static but it’s not declared as a static method (it is in the GH version).
   This is throwing the PHP Strict Standards warning.
 * You also have `get_base_url()` as static on GH but not in the plugin repo (not
   as big of a deal since it’s not called anywhere).
 * [https://github.com/bradvin/gravity-forms-custom-post-types/blob/master/gfcptaddon.php#L121](https://github.com/bradvin/gravity-forms-custom-post-types/blob/master/gfcptaddon.php#L121)
 * [https://wordpress.org/plugins/gravity-forms-custom-post-types/](https://wordpress.org/plugins/gravity-forms-custom-post-types/)

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

 *  [Ryan Hellyer](https://wordpress.org/support/users/ryanhellyer/)
 * (@ryanhellyer)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-strict-standards-warning-2/#post-6364383)
 * Here is a hacky fix for this. I haven’t tested it much, but needed to fix it 
   in a hurry to proceed with using the plugin.
    [http://pastebin.com/DnQiEepB](http://pastebin.com/DnQiEepB)
 *  Plugin Author [Dave from Gravity Wiz](https://wordpress.org/support/users/spivurno/)
 * (@spivurno)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-strict-standards-warning-2/#post-6364399)
 * This is fixed in v3.1. Thanks, Ryan (last one!). 🙂

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

The topic ‘PHP Strict Standards Warning’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [Dave from Gravity Wiz](https://wordpress.org/support/users/spivurno/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/php-strict-standards-warning-2/#post-6364399)
 * Status: resolved