• hello, i have these errors on my wordpress install :

    Notice: Undefined index: content in /var/www/wordpress/wp-content/plugins/list-category-posts/include/CatList.php on line 431
    
    Notice: Undefined index: excerpt_overwrite in /var/www/wordpress/wp-content/plugins/list-category-posts/include/CatList.php on line 434

    Erros with differents themes (thematic, oxygen, and other) when i select the excerpt option.

    https://wordpress.org/plugins/list-category-posts/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    Oops, fixing this for the next version. Thanks!

    Sorry for jumping in with more errors. If I should make a new topic instead, please let me know.

    I’m using the newest version (0.46.4) and in my testing (debug) instance I get these errors when using the widget to show all post titles in the current post’s category.

    Notice: Undefined index: customfield_display in ...\list-category-posts\templates\default.php on line 71
    Notice: Undefined index: customfield_display in ...\list-category-posts\include\CatList.php on line 335

    Thanks!

    Plugin Author Fernando Briano

    (@fernandobt)

    sirenAri this should be fixed on the next version of the plugin. Please update it when it’s released and let me know if the message is gone for you.

    Thanks!

    Not exactly. I still have pretty much the same errors just at different line numbers:

    LCP Version 0.48

    Notice: Undefined index: customfield_display in ...\[my-theme-folder]\list-category-posts\default.php on line 71
    Notice: Undefined index: customfield_display in ...\list-category-posts\include\CatList.php on line 367

    I did replace the default template in my theme with the one included in your plugin.

    Picandocodigo, after looking at the code a bit and looking a few things up on WordPress itself I’m not entirely sure this is something you can fix. It seems that if people (like myself) aren’t using custom fields WordPress isn’t set up to set that param to an empty string. I could be wrong, but this seems to be the case.

    Thank you so much for this plugin and for trying to work through this issue. As I said, I really think it’s a WordPress issue that, who knows, might be fixed in a future version.

    To anyone else trying to test out their custom plugin or theme and getting this issue, comment out the line in the default template that has to do with the customfield_display param. This eliminates both errors so you can test out your plugin or theme without displaying these problems.

    Thanks again!

    ~Ari

    Plugin Author Fernando Briano

    (@fernandobt)

    Please let me know if this is still happening on version 0.49.x. I think it should be fixed now.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Notice: Undefined index error with Debug’ is closed to new replies.