Support » Plugin: Top 10 - Popular posts plugin for WordPress » Errors in error log

  • Resolved Jason Davis


    Hi can you help? I’m getting errors in the error log (see below)

    Undefined index: disp_list_count in
    /plugins/top-10/top-10.php on line 609

    PHP Notice: Undefined index: show_excerpt in
    /plugins/top-10/top-10.php on line 610

    PHP Notice: Undefined index: show_author in
    /plugins/top-10/top-10.php on line 611

    PHP Notice: Undefined index: show_date in
    /plugins/top-10/top-10.php on line 612

    I’m using the latest version of the plugin and WordPress

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ajay


    Thanks for reporting this. I’ll fix this in a new version.

    For now, can you test this and tell me if it works well?

    $instance['disp_list_count'] = isset($new_instance['disp_list_count']) ? true : false;
    $instance['show_excerpt'] = isset($new_instance['show_excerpt']) ? true : false;
    $instance['show_author'] = isset($new_instance['show_author']) ? true : false;
    $instance['show_date'] = isset($new_instance['show_date']) ? true : false;

    Yup that got it, I’m not seeing any errors.

    Well done sir!

    Plugin Author Ajay


    That’s good. I’ll put it in the new version.

    Plugin Author Ajay


    This is now fixed in v1.9.10.x

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors in error log’ is closed to new replies.