• Resolved pankaj2210

    (@pankaj2210)


    Hi,

    This issue occurs only for a few pages created with Elementor. I’ve tried disabling other plugins one by one but the issue persists.

    Not sure when this started occurring. I was editing a page, previewed it and it was blank so I checked the browser console and this error had been thrown:

    VM13683 jquery.min.js:2 Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
        at Object.getCurrentDeviceMode (VM13731 frontend.min.js:2)
        at t (VM13731 frontend.min.js:2)
        at HTMLDocument.init (VM13731 frontend.min.js:2)
        at l (VM13683 jquery.min.js:2)
        at c (VM13683 jquery.min.js:2)

    I read other threads about this issue and the root cause has been mentioned anywhere. Can someone please explain what might be causing this issue?

    System info:
    
    					
    == Server Environment ==
    	Operating System: Linux
    	Software: Apache
    	MySQL version: 5.6.38
    	PHP Version: 5.6.35
    	PHP Max Input Vars: 1000
    	PHP Max Post Size: 32M
    	GD Installed: Yes
    	Write Permissions: All right
    	Elementor Library: Connected
    
    == WordPress Environment ==
    	Version: 4.9.5
    	Site URL: http://dev.lssunrooms.com
    	Home URL: http://dev.lssunrooms.com
    	WP Multisite: No
    	Max Upload Size: 32 MB
    	Memory limit: 256M
    	Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
    	Language: en-US
    	Timezone: 0
    	Debug Mode: Inactive
    
    == Theme ==
    	Name: OceanWP Child
    	Version: 1.0
    	Author: Nick
    	Child Theme: Yes
    	Parent Theme Name: OceanWP
    	Parent Theme Version: 1.5.10
    	Parent Theme Author: Nick
    
    == User ==
    	Role: administrator
    	WP Profile lang: en_US
    	User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 OPR/52.0.2871.40
    
    == Active Plugins ==
    	Addons for Elementor
    		Version: 1.5.4
    		Author: Livemesh
    
    	Bulk add terms
    		Version: 2.0.4
    		Author: Sohan Zaman
    
    	Categories to Tags Converter Importer
    		Version: 0.5
    		Author: wordpressdotorg
    
    	Duplicator
    		Version: 1.2.34
    		Author: Snap Creek
    
    	Elementor
    		Version: 2.0.6
    		Author: Elementor.com
    
    	Gravity Forms
    		Version: 2.2.6.5
    		Author: rocketgenius
    
    	Gravity Forms Webhooks Add-On
    		Version: 1.1.5
    		Author: rocketgenius
    
    	Ocean Extra
    		Version: 1.4.10
    		Author: OceanWP
    
    	Regenerate Thumbnails
    		Version: 3.0.2
    		Author: Alex Mills (Viper007Bond)
    
    	Relevanssi
    		Version: 4.0.7
    		Author: Mikko Saari
    
    	Search Everything
    		Version: 8.1.9
    		Author: Sovrn, zemanta
    
    	Simple Custom CSS and JS
    		Version: 3.15
    		Author: Diana Burduja
    
    	Site Reviews
    		Version: 2.14.0
    		Author: Paul Ryley
    
    	Smart Slider 3
    		Version: 3.2.14
    		Author: Nextend
    
    	Toolset Layouts
    		Version: 2.2
    		Author: OnTheGoSystems
    
    	Toolset Maps
    		Version: 1.4.2
    		Author: OnTheGoSystems
    
    	Toolset Types
    		Version: 2.2.23
    		Author: OnTheGoSystems
    
    	Toolset Views
    		Version: 2.5.2
    		Author: OnTheGoSystems
    
    	WP File Manager
    		Version: 2.4
    		Author: mndpsingh287
    
    == Debug ==
    	Errors: 
    		TypeError: Cannot read property 'html' of undefined
    			at http://dev.lssunrooms.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.0.5 - 2:79706
    			2018-04-13 12:45 +00:00
    			x 2 times
    
    		TypeError: Cannot read property 'id' of undefined
    			at http://dev.lssunrooms.com/wp-content/plugins/elementor/assets/lib/select2/js/select2.min.js?ver=4.0.5 - 1:7974
    			2018-04-11 17:39 +00:00
    
    		TypeError: Cannot read property 'on' of null
    			at http://dev.lssunrooms.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.0.4 - 2:82557
    			2018-04-11 15:56 +00:00
    
    		TypeError: Cannot read property 'style' of undefined
    			at http://dev.lssunrooms.com/wp-admin/js/editor.min.js?ver=4.9.5 - 1:694
    			2018-04-11 15:56 +00:00
    
    		TypeError: Cannot read property 'query' of null
    			at http://dev.lssunrooms.com/wp-content/plugins/elementor/assets/lib/select2/js/select2.min.js?ver=4.0.5 - 1:59580
    			2018-04-11 03:49 +00:00
    
    		TypeError: Cannot read property 'errors' of undefined
    			at http://dev.lssunrooms.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.0.4 - 2:132648
    			2018-04-11 01:39 +00:00
    			x 10 times
    
    		TypeError: Cannot read property 'id' of undefined
    			at http://dev.lssunrooms.com/wp-content/plugins/elementor/assets/lib/select2/js/select2.min.js?ver=4.0.5 - 1:7974
    			2018-04-10 18:34 +00:00
    
    		TypeError: Cannot read property 'errors' of undefined
    			at http://dev.lssunrooms.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.0.4 - 2:132648
    			2018-04-10 18:27 +00:00
    			x 5 times

    `

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Try to deactivate all plugins except Elementor and switch to theme TwentySixteen, also update Elementor. See if it works.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught TypeError: Failed to execute ‘getComputedStyle’ on ‘Window’: parameter’ is closed to new replies.