elementor / elementor

The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
https://elementor.com/
GNU General Public License v3.0
6.58k stars 1.42k forks source link

Cannot insert template block/page - Stuck on loading when trying to insert #12064

Open christiandecosta opened 4 years ago

christiandecosta commented 4 years ago

Hello,

i am trying to insert a template and when i try to, it prompts me to sign in with Elementor. i then click sign in and 'connect to elementor'. it then gets stuck on a loading screen in elementor.

I have tried every suggested fix under the sun. i have used a different computer, multiple browsers, cleared cache. i have been through WP support and they said the issue is not on their end but the Elementor. i have uninstalled and reinstalled Elementor plug in. i have disabled all other plug ins etc.

I have been on the Elementor Facebook page and alot of other people are having this issue. i am using the Astra theme however i have tried twenty sixteen and others are using the Oceanwp theme.

-->

Prerequisites

Screen Shot 2020-08-07 at 8 51 01 pm Screen Shot 2020-08-07 at 8 50 52 pm Screen Shot 2020-08-07 at 8 51 13 pm

Isolating the problem

Environment

System Info ``` ```

== Server Environment == Operating System: Linux Software: nginx MySQL version: MariaDB Server v10.3.21 PHP Version: 7.3.20 PHP Max Input Vars: 6144 PHP Max Post Size: 2047M GD Installed: Yes ZIP Installed: Yes Write Permissions: There are some writing permissions issues with the following directories/files:

== WordPress Environment == Version: 5.4.2 Site URL: https://thedecostaagency.com Home URL: https://thedecostaagency.com WP Multisite: No Max Upload Size: 2 GB Memory limit: 256M Permalink Structure: /%postname%/ Language: en-US Timezone: Australia/Perth Debug Mode: Inactive

== Theme == Name: Astra Version: 2.5.2 Author: Brainstorm Force Child Theme: No

== User == Role: administrator WP Profile lang: en_US User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36

== Active Plugins == Akismet Anti-Spam Version: 4.1.6 Author: Automattic

Elementor
    Version: 2.9.14
    Author: Elementor.com

Everest Forms
    Version: 1.7.0.1
    Author: WPEverest

Jetpack by WordPress.com
    Version: 8.8
    Author: Automattic

== Must-Use Plugins == WP.com Site Helper Version: Author:

== Elements Usage ==

wp-post : 1
    button : 3
    divider : -30
    heading : -49
    icon-box : 3
    image : -19
    image-gallery : 1
    shortcode : 1
    social-icons : 1
    text-editor : -33
wp-page : 10
    button : 5
    divider : 7
    heading : 12
    image : 7
    image-box : 2
    image-carousel : 3
    text-editor : 6

== Log ==

JS: showing 2 of 2JS: 2020-08-06 13:01:04 [error X 10][https://thedecostaagency.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:95837] Cannot read property \'message\' of null JS: 2020-08-06 22:11:20 [error X 9][https://thedecostaagency.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:95824] i is null

PHP: showing 1 of 1PHP: 2020-08-07 06:40:41 [notice X 1][/srv/htdocs/wp-content/plugins/elementor/includes/template-library/manager.php::238] Undefined index: types_data [array ( 'trace' => '

0: Elementor\Core\Logger\Manager -> shutdown()

', )]

nguyendat commented 4 years ago

I also got this issue during insert "career" template, here is the console log: post.php?post=213&action=elementor:1 Access to XMLHttpRequest at 'https://my.elementor.com/connect/v1/library?action=authorize&response_type=code&client_id=IOIKXvpygSJ2lUjTyEIFraQ66v0OgyQL&auth_secret=lDpsXcDEUtI91tyxiYDVMcbX35Pnucdr&state=O4AawLknHIfo&redirect_uri=https%3A%2F%2Fmysite.com%2Fwp-admin%2Fadmin.php%3Fpage%3Delementor-connect%26app%3Dlibrary%26action%3Dget_token%26nonce%3D1e1ead829b&may_share_data=1&reconnect_nonce=ff2738970f' (redirected from 'https://mysite.com/wp-admin/admin-ajax.php') from origin 'https://mysite.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request. editor.min.js?ver=2.9.14:31 Uncaught TypeError: Cannot read property 'message' of null at editor.min.js?ver=2.9.14:31 at Function.v.each.v.forEach (load-scripts.php?c=0&load[chunk_0]=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[chunk_1]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.4.2:2) at TemplateLibraryManager.showErrorDialog (editor.min.js?ver=2.9.14:31) at Object.error (editor.min.js?ver=2.9.14:31) at i (load-scripts.php?c=0&load[chunk_0]=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[chunk_1]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.4.2:8) at Object.fireWith [as rejectWith] (load-scripts.php?c=0&load[chunk_0]=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[chunk_1]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.4.2:8) at Object.e.<computed> [as reject] (load-scripts.php?c=0&load[chunk_0]=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[chunk_1]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.4.2:8) at common.min.js?ver=2.9.14:2 at Array.forEach (<anonymous>) at error (common.min.js?ver=2.9.14:2) my.elementor.com/connect/v1/library?action=authorize&response_type=code&client_id=IOIKXvpygSJ2lUjTyEIFraQ66v0OgyQL&auth_secret=lDpsXcDEUtI91tyxiYDVMcbX35Pnucdr&state=O4AawLknHIfo&redirect_uri=https%3A%2F%2Fmysite.com%2Fwp-admin%2Fadmin.php%3Fpage%3Delementor-connect%26app%3Dlibrary%26action%3Dget_token%26nonce%3D1e1ead829b&may_share_data=1&reconnect_nonce=ff2738970f:1 Failed to load resource: net::ERR_FAILED DevTools failed to load SourceMap: Could not load content for https://mysite.com/wp-content/plugins/elementor/assets/lib/pickr/pickr.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Screen Shot 2020-08-10 at 7 44 43 AM
ccheape4 commented 4 years ago

I'm having the same issue as above and getting the same errors in the console log as nguyendat.