WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] getting a warning (3 posts)

  1. Stacy (non coder)
    Member
    Posted 7 months ago #

    Warning: in_array() expects parameter 2 to be array, null given in /home/site/public_html/wp-content/plugins/pods/ui/admin/setup-edit-field.php on line 26

    http://wordpress.org/plugins/pods/

  2. Josh Pollock
    Member
    Plugin Author

    Posted 7 months ago #

    Stacy-

    Can you please provide some additional information that will allow me to attempt to reproduce your issue?
    Where are you seeing this error? What version of Pods and WordPress are you using?

    Thanks,
    Josh

  3. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 7 months ago #

    Found the issue here, this one has been hanging around since 2.3.3.

    At line 26 in pods/ui/admin/setup-edit-field.php you can edit the line:

    $ignored_pick_objects = apply_filters( '', array( 'table' ) );

    to be:

    $ignored_pick_objects = apply_filters( 'pods_admin_ui_ignored_pick_objects', array( 'table' ) );

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.