Title: Critical error
Last modified: March 29, 2022

---

# Critical error

 *  Resolved [adeelahmed22](https://wordpress.org/support/users/adeelahmed22/)
 * (@adeelahmed22)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-319/)
 * After installing a plugin called copy-paste-post, i received an error.
 * An error of type E_ERROR was caused in line 2318 of the file /home3/ideatei1/
   public_html/staging/1885/wp-content/plugins/elementor/includes/base/controls-
   stack.php. Error message: Uncaught TypeError: Argument 1 passed to Elementor\
   Controls_Stack::sanitize_settings() must be of the type array, string given, 
   called in /home3/ideatei1/public_html/staging/1885/wp-content/plugins/elementor/
   includes/base/controls-stack.php on line 1079 and defined in /home3/ideatei1/
   public_html/staging/1885/wp-content/plugins/elementor/includes/base/controls-
   stack.php:2318
    Stack trace: #0 /home3/ideatei1/public_html/staging/1885/wp-content/
   plugins/elementor/includes/base/controls-stack.php(1079): Elementor\Controls_Stack-
   >sanitize_settings(‘d:6:{s:17:”body…’) #1 /home3/ideatei1/public_html/staging/
   1885/wp-content/plugins/elementor/includes/base/controls-stack.php(2067): Elementor\
   Controls_Stack->get_data(‘settings’) #2 /home3/ideatei1/public_html/staging/1885/
   wp-content/plugins/elementor/core/base/base-object.php(142): Elementor\Controls_Stack-
   >get_init_settings() #3 /home3/ideatei1/public_html/staging/1885/wp-content/plugins/
   elementor/core/base/base-object.php(40): Elementor\Core\Base\Base_Object->ensure_
    -  This topic was modified 4 years, 1 month ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-319/#post-15505950)
 * Side note: the URL you posted is coming up as seriously hacked. I’ve redacted
   it for other user’s sake.
 *  [Elementor Team](https://wordpress.org/support/users/michellei/)
 * (@michellei)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-319/#post-15521121)
 * Hi,
 * Does the error persist when the third-party plugin is deactivated?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Critical 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/)

## Tags

 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)

 * 2 replies
 * 3 participants
 * Last reply from: [Elementor Team](https://wordpress.org/support/users/michellei/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-319/#post-15521121)
 * Status: resolved