WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. askjayson
    Member
    Posted 2 months 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. bryanmonzon
    Member
    Posted 2 months 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. bryanmonzon
    Member
    Posted 2 months ago #

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

    protected static function get_base_path(){

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.