Set iframe display format for the attribute

After pasting into function.php, I get an error
Warning : Undefined array key “type” in C:\xampp\htdocs\hivepress\wp-content\plugins\hivepress\includes\models\class-model.php on line 145

I changed the class-url.
I added url there.
It works.
Will it still work after the update?

<?php

/**

 * URL field.

 *

 * @package HivePress\Fields

 */

namespace HivePress\Fields;

use HivePress\Helpers as hp;

// Exit if accessed directly.

defined( 'ABSPATH' ) || exit;

/**

 * URL.

 */

class URL extends Text {

    /**

     * Class initializer.

     *

     * @param array $meta Class meta values.

     */

    public static function init( $meta = [] ) {

        $meta = hp\merge_arrays(

            [

                'label'      => esc_html__( 'URL', 'hivepress' ),

                'filterable' => false,

                'sortable'   => false,

                'settings'   => [

                    'min_length' => null,

                    'max_length' => null,

                    'pattern'    => null,

                ],

            ],

            $meta

        );

        parent::init( $meta );

    }

    /**

     * Class constructor.

     *

     * @param array $args Field arguments.

     */

    public function __construct( $args = [] ) {

        $args = hp\merge_arrays(

            $args,

            [

                'max_length' => 2048,

            ]

        );

        parent::__construct( $args );

    }

    /**

     * Sets field display template.

     *

     * @param string $display_template Display template.

     */

    protected function set_display_template( $display_template ) {

        if ( strpos( $display_template, '<a ' ) === false && ! hp\has_shortcode( $display_template ) ) {

            $display_template = str_replace( '%value%', '<iframe src="%value%" width="100%" height="300px" name="_blank" >%value%</iframe> <a href="%value%" target="page">Wirtualny spacer pokaż w nowym oknie</a>', $display_template );

        }

        $this->display_template = $display_template;

    }

    /**

     * Sanitizes field value.

     */

    protected function sanitize() {

        $this->value = esc_url_raw( $this->value );

    }

}