views_get_view() not accepting arguments? Code without arguments works, but with arguments I run into an error of EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. Value at commerce_line_item()-&gt;commerce_product: . in EntityDrupalWrapper-&gt;set()

This does not work:

    $array = array('228');
    $view = views_get_view('commerce_wishlist_page');
    $view-&gt;set_display("default");
    $view-&gt;pre_execute($array);
    $view-&gt;execute();
    print $view-&gt;render();


This works:

    $view = views_get_view('commerce_wishlist_page');
    $view-&gt;set_display("default");
    $view-&gt;execute();
    print $view-&gt;render();


Did they changed something? Because according to documentation this should work. I can confirm view work in views UI, also with handwritten contexual filters in UI. How can I solve this?
View "commerce_wishlist_page" was created by module itself. There appeared to be some problem with the view configuration itself, because when I re-created the view with exactly same values the error is gone. I think this is the module problem and possible typo somewhere in hook_install()