• An unchecked access to $GLOBALS[‘HTTP_POST_FILES’] causes the following notice. This breaks the json response of the admin image upload:

    Notice: Undefined index: HTTP_POST_FILES in [..]/infinite-scroll/includes/admin.php on line 90

    You can easily fix this if you add the following condition around the actual logic:

    $id = 0;
    if (isset($GLOBALS['HTTP_POST_FILES'])){
    [...]
    }

    https://ww.wp.xz.cn/plugins/infinite-scroll/

The topic ‘Infinite Scroll breaks image upload (debug mode)’ is closed to new replies.