Support » Plugin: Custom Post Type UI » PHP Notices: Undefined index: rewrite_hierarchical & rewrite_withfront

  • Resolved themightyant


    Hi after the most recent update to 1.0.6 I am getting several PHP notices on my development site. e.g.

    Notice: Undefined index: rewrite_withfront in /homepages/14/d537045890/htdocs/wordpress-mirror-site-testing/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 265

    Notice: Undefined index: rewrite_hierarchical in /homepages/14/d537045890/htdocs/wordpress-mirror-site-testing/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 266

    Full paste bin here

    This doesn’t seem to have any negative effects (its only a Notice) but thought you should be aware. I have tried resaving all Post types and Taxonomies and updating permalinks all to no avail.

    I suspect it is related to the problem on another support thread here

    Regardless thanks for the great plugin.

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


    It indeed is related to that thread you mention. It’s something I’m going to have to live with for awhile, unless I can find another way to prevent the notice without having my if statement not be done incorrectly with regards to empty() and string ‘0’ evaluating to true for empty.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notices: Undefined index: rewrite_hierarchical & rewrite_withfront’ is closed to new replies.