• I get

    Undefined index $instance[‘tag’]

    and

    Undefined index $instance[‘cat’]

    in /classes/widget.php ( Class Name: Recent_Posts_Widget_Extended ;Function Name: update() )

    This happens for custom post types, or posts without categories and tags.

    Can you please wrap these in isset() functions like they are with the other variable indexes referenced within this function?

    Thanks!

    https://www.ads-software.com/plugins/recent-posts-widget-extended/

Viewing 1 replies (of 1 total)
  • Agreed. This nearly prevented me from using the plugin, but it’s an easy fix and should be incorporated.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined Index $instance['tag'] && $instance['cat']’ is closed to new replies.