Support » Plugin: Devices for Elementor » Elementor Breaking Bug

  • jacobberendes

    (@jacobberendes)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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 11 months, 1 week ago by ido1990.
    alipiogabriel

    (@alipiogabriel)

    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.