This code on line 450 resolved the Internal Server problem that I encountered with the Pro version
$product_id = ( version_compare( WC_VERSION, ‘2.7’, ‘<‘ ) ) ? !empty( $product[ ‘variation_id’ ] ) ? $product[ ‘variation_id’ ] : $product[ ‘product_id’ ] : $product->get_id();