WordPress.org

Forums

Gravity Forms + Custom Post Types
Strict Standards Error (3 posts)

  1. askjayson
    Member
    Posted 2 years ago #

    Hi bradvin! I just wanted to let you know about the following Warning. Not a 'true' error and does not seem to affect much other then when you are in debug mode runnning php 5.4+ and then prevents you from adding fields to the GForm.

    Strict Standards: Non-static method GFCPTAddon::get_base_path() should not be called statically in /public_html/wp-content/plugins/gravity-forms-custom-post-types/gfcptaddon.php on line 58

    https://wordpress.org/plugins/gravity-forms-custom-post-types/

  2. Bryan Monzon
    Member
    Posted 2 years ago #

    This is actually causing issues in form editor even with debug set to false. It's causing the Javascript not to be loaded and preventing fields being added.

    Thanks in advance for having a look.

  3. Bryan Monzon
    Member
    Posted 2 years ago #

    @askjayson this is a fix on line 123 of gfcptaddon.php

    protected static function get_base_path(){

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms + Custom Post Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.