Title: insert elementor custom template request error
Last modified: October 31, 2024

---

# insert elementor custom template request error

 *  [WPNexa](https://wordpress.org/support/users/wpnexa/)
 * (@wpnexa)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/insert-elementor-custom-template-request-error/)
 *     ```wp-block-code
       After adding the new function update in Elementor, I am getting a "Request Error" when trying to insert a custom template. How can I solve this?  3.25.3private function should_check_permissions( array $args ): bool {        if ( null === $this->elementor_adapter ) {            $this->set_elementor_adapter( new Elementor_Adapter() );        }        // TODO: Remove $isWidgetTemplate in 3.28.0 as there is a Pro dependency        $check_permissions = isset( $args['check_permissions'] ) && false === $args['check_permissions'];        $is_widget_template = 'widget' === $this->elementor_adapter->get_template_type( $args['template_id'] );        if ( $check_permissions || $is_widget_template ) {            return false;        }        return true;    }
       ```
   

Viewing 1 replies (of 1 total)

 *  [Luis from Elementor](https://wordpress.org/support/users/luisrelementor/)
 * (@luisrelementor)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/insert-elementor-custom-template-request-error/#post-18117970)
 * Hello there,
 * I’m sorry to hear you are facing issues with this. Please reach out to our support
   team for further assistance with this [https://wordpress.org/support/topic/warning-undefined-array-key-31-in-current-update-3-25-3/](https://wordpress.org/support/topic/warning-undefined-array-key-31-in-current-update-3-25-3/)
 * Thank you

Viewing 1 replies (of 1 total)

The topic ‘insert elementor custom template request error’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Luis from Elementor](https://wordpress.org/support/users/luisrelementor/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/insert-elementor-custom-template-request-error/#post-18117970)