Support » Plugin: I Recommend This » Plugin throwing Undefined Index errors.

  • Resolved sebabornia


    Hi! Great plugin, I love it! I’m having an issue though, that is about to drive me crazy.. I get these messages for each like button:

    Notice: Undefined index: disable_unique_ip in /Library/WebServer/Documents/hiker/wp-content/plugins/i-recommend-this/dot-irecommendthis.php on line 587
    Notice: Undefined index: link_title_active in /Library/WebServer/Documents/hiker/wp-content/plugins/i-recommend-this/dot-irecommendthis.php on line 608

    The problem seems to be in this line:
    if( $options['disable_unique_ip'] != '0' ) {

    I debugged a bit and found that $options[‘disable_unique_ip’] becomes null after the plugin calls this function:
    $options = get_option( 'dot_irecommendthis_settings' );,
    before that,
    $options['disable_unique_ip'] equals "0".

    I’m calling the plugin using the shortcode, like this:
    do_shortcode('[dot_recommends id="'.$block["related_post_id"].'"]')

    Thank you very much in advance for your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Harish Chouhan


    Hi @sebabornia,

    can you please share the website link if its live.


    Thanks for the quick response! I appreciate it. Here’s the page:


    Plugin Author Harish Chouhan


    Hi Sebstian. Yup just saw the errors what you mentioned. I can’t promise a timeline, but give me a few days to test the plugin on a fresh WP install so I can then try to fix the errors.

    Thanks for sharing some inputs about the error, this probably will save some time in fixing it.

    P.S. Awesome theme.

    Ok cool!

    Thanks for the kind words! If you ever need to use it just let me know and I’ll get you a free copy 🙂



    Did you get a chance to look into this?


    Plugin Author Harish Chouhan


    Hi @sebabornia,

    Am afraid I have not yet fixed it. I am trying to update the code with sanitization and other improvements, but in case I am unable to, I will try to at least fix the code within next 8 days and release an update.

    Cool.. Thanks, I appreciate it a lot!

    Plugin Author Harish Chouhan


    Hi @sebabornia.

    I have finally managed to fix the issue. Over next 2 months will look into enhancing the speed of the plugin and also increasing its security. This plugin is used on 2 high traffic sites Flat Trendz & One Page Mania so it helps me collect stats and test when active with caching plugin. Which is a little bit of issue if a high traffic site is hosted on cheap hosting with caching on.

    Let me know if you run across any other issues.

    Awesome! Thank you so much for maintaining this great plugin so actively 🙂

    Have a nice day!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugin throwing Undefined Index errors.’ is closed to new replies.