• Resolved Victor Font

    (@vfontj)


    There are two PHP warmings displaying in taxonomies.php:

    ( ! ) Notice: Undefined index: publicly_queryable in /custom-post-type-ui/inc/taxonomies.php on line 743
    ( ! ) Notice: Undefined index: publicly_queryable in /Users/victorfont/Sites/public_html/wp-content/plugins/custom-post-type-ui/inc/taxonomies.php on line 744

    The code is:

    $selected = isset( $current ) ? disp_boolean( $current[‘publicly_queryable’] ) : ”;
    $select[‘selected’] = ! empty( $selected ) ? $current[‘publicly_queryable’] : ”;

    The warning is caused by the fact that publicly_queryable does not exist in the $current array.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Go click to edit, but then don’t touch anything, and just click save again, on any taxonomies you have created. It should hopefully fill in these enough to remove the two notices.

    For what it’s worth, the notices aren’t going to do any harm, other than annoy slightly in error logs.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warnings in taxonomies.php’ is closed to new replies.