Support » Plugin: Infinite-Scroll » Image Upload – HTTP Error – error occurred in the upload. Please try again later

Viewing 1 replies (of 1 total)
  • dchristof

    (@dchristof)

    Same here.. I had to disable the plugin and now my image upload works. This happened after upgrading to wordpress 4.1. Does anybody have a solution?

    EDIT: i just applied this fix and my image upload works fine now
    https://github.com/devinsays/options-framework-plugin/issues/155#issuecomment-24721444
    I had to wrap line 24 in /plugins/infinite-scroll/includes/admin.php that says
    add_filter( 'get_media_item_args', array( &$this, 'send_to_editor'), 10, 1);
    with an if statement like that

    if (isset($GLOBALS['HTTP_POST_FILES']['async-upload'])){
    			add_filter( 'get_media_item_args', array( &$this, 'send_to_editor'), 10, 1);
    		}

Viewing 1 replies (of 1 total)
  • The topic ‘Image Upload – HTTP Error – error occurred in the upload. Please try again later’ is closed to new replies.