Title: Elementor Breaking Bug
Last modified: November 29, 2018

---

# Elementor Breaking Bug

 *  [jacobberendes](https://wordpress.org/support/users/jacobberendes/)
 * (@jacobberendes)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/elementor-breaking-bug/)
 * The view renders correctly but the editor never completes loading.
 * editModel is undefined
 *     ```
       		if ( '' !== settings.media_portrait_screenshot.url ) {
       			var portrait_screenshot = {
       				id 			: settings.media_portrait_screenshot.id,
       				url 		: settings.media_portrait_screenshot.url,
       				size 		: settings.media_portrait_screenshot_size,
       				dimension 	: settings.media_portrait_screenshot_custom_dimension,
       				model 		: editModel
       			};
   
       			var portrait_screenshot_url = elementor.imagesManager.getImageUrl( portrait_screenshot );
   
       			if ( ! portrait_screenshot_url ) {
       				return;
       			}
   
       			output += '<figure><img src="' + portrait_screenshot_url + '" /></figure>';
       		}
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Felementor-breaking-bug%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [ido1990](https://wordpress.org/support/users/ido1990/)
 * (@ido1990)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/elementor-breaking-bug/#post-11047392)
 * Hi,
    I think I solved it. Go to the “devices.php” file located here: /wp-content/
   plugins/devices-elementor/includes/widgets Then go to line 706 and remove the
   comma in the end of the line. Next, comment out line 707 (like this: /*model :
   editModel*/). Save and try loading Elementor. I’m not sure that’s the right way
   but it worked for me.
 * The reason they don’t fix it seems to be that they have the devices feature on
   a paid version that include few other things inside.
    -  This reply was modified 7 years, 5 months ago by [ido1990](https://wordpress.org/support/users/ido1990/).
 *  [alipiogabriel](https://wordpress.org/support/users/alipiogabriel/)
 * (@alipiogabriel)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/elementor-breaking-bug/#post-11090464)
 * the plugin should be updated! Please dev, you got a lot of supporters here.

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

The topic ‘Elementor Breaking Bug’ is closed to new replies.

 * ![](https://ps.w.org/devices-elementor/assets/icon.svg?rev=1642785)
 * [Devices for Elementor](https://wordpress.org/plugins/devices-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/devices-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/devices-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/devices-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/devices-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/devices-elementor/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [alipiogabriel](https://wordpress.org/support/users/alipiogabriel/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/elementor-breaking-bug/#post-11090464)
 * Status: not resolved