Title: insert elementor custom template request error
Last modified: November 2, 2024

---

# insert elementor custom template request error

 *  Resolved [WPNexa](https://wordpress.org/support/users/wpnexa/)
 * (@wpnexa)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/insert-elementor-custom-template-request-error-2/)
 * 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)

 *  Plugin Support [Foujia](https://wordpress.org/support/users/foujiaa/)
 * (@foujiaa)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/insert-elementor-custom-template-request-error-2/#post-18111272)
 * Hi [@wpnexa](https://wordpress.org/support/users/wpnexa/) , Would you mind elaborating
   on what you mean but inserting a custom template? How is this done? If you can
   grab a loom.com video showing the issue itself and how it occurs I can suggest.
   
   In the meantime this guide might also help – [https://docs.elementor.com/article/235-update-issues](https://docs.elementor.com/article/235-update-issues)

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: [Foujia](https://wordpress.org/support/users/foujiaa/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/insert-elementor-custom-template-request-error-2/#post-18111272)
 * Status: resolved