• Resolved fergomez

    (@fergomez)


    Hello,

    I’me developing a site using your plugin with debug mode enabled and I’ve found this warning on each comment box:

    Notice: Undefined index: WPACFallback in PATH\localhost\test\wp-content\plugins\wp-ajaxify-comments\wp-ajaxify-comments.php on line 667

    Checking that line:

    if ($_REQUEST['WPACFallback'] || wpac_is_ajax_request()) return $query;

    I’ve fixed it by replacing that line for this one:

    if ((isset($_REQUEST['WPACFallback']) && $_REQUEST['WPACFallback']) || wpac_is_ajax_request()) return $query;

    I’m not sure if I’ve fixed it in a proper way or I messed something up elsewhere. Could you tell me if I’m right? Thanks.

    Best regards.

    http://wordpress.org/plugins/wp-ajaxify-comments/

Viewing 1 replies (of 1 total)
  • Hi fergomez,

    Thanks for your comment. Your fix looks fine and is included in the most recent version 0.17.3 which has just been released.

    Best regards,
    Jan

Viewing 1 replies (of 1 total)
  • The topic ‘Fixing warning "Undefined index: WPACFallback"’ is closed to new replies.