Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #6484
      mcmaster
      Member

      Just reporting an error message; functionality is fine. I’m running Piklist 0.9.9.8 and WP 4.5.2. I have Justin Tadlock’s Members plugin installed.

      I click on the Users/Roles menu in the admin sidebar, and then select Administrator as the role to edit. I get 4 copies of this error message:

      
      Notice: Trying to get property of non-object in /Users/donna/Sites/coloma/wp-content/plugins/piklist/includes/class-piklist.php on line 1019
      

      That code is in function validate_part_parameter, case ‘template’:

      
      $page_template = ($post->post_status == 'auto-draft') ? 'default' : strtolower(str_replace('.php', '', get_post_meta($post->ID, '_wp_page_template', true)));
      

      HTH,
      Donna

    • #6501
      Steve
      Keymaster

      @mcmaster– I can’t reproduce. Do you have any custom code that might be effecting this?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.