I am trying to:
After I upgraded to latest version of Gutenberg, I get a white screen opening a page to edit using this editor. Class Editor works fine. One debug error message I'm getting is:
TypeError: undefined is not an object (evaluating ‘d.Panel’)
I cannot replicate such JS error or other errors like a white screen of deth if I edit Posts or Pages with Gutenberg and Toolset active.
Can you:
- Enable WP Debug, and see what is displayed as error, instead of the White Screen of Death? https://codex.wordpress.org/Debugging_in_WordPress
- Let me know the exact steps required to replicate the issue?
I could not see any issue locally when using the Gutenberg editor with Toolset Active, on the other hand, I cannot state that we are yt 100% integrated or compatible, as there is work to do and the development process of either the Gutenberg and Toolset Integration for it, is not yet done, so you could see some things not working, but I could not replicate a full failure as described.
Would need to address this fast - it would help if you could provide us above details.
Enabling WP_DEBUG doesn't seem to help as I'm still getting white screen with nothing else - likely fatal Javascript error. I use the browser console and find some errors below. Hope this helps.
[Error] Failed to load resource: the server responded with a status of 404 () (ct.block.editor.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (custom.html.block.editor.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (view.block.editor.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (view.block.editor.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (view.block.editor.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (view.block.editor.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (custom.html.block.editor.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (ct.block.editor.css.map, line 0)
hidden link
- - -
[Error] TypeError: undefined is not an object (evaluating 'd.Panel')
(anonymous function) (scripts.b3c30330.js:17:145830)
(anonymous function) (scripts.b3c30330.js:17:147055)
n (scripts.b3c30330.js:1:115)
(anonymous function) (scripts.b3c30330.js:17:157810)
(anonymous function) (scripts.b3c30330.js:17:159308)
n (scripts.b3c30330.js:1:115)
(anonymous function) (scripts.b3c30330.js:17:159370)
n (scripts.b3c30330.js:1:115)
(anonymous function) (scripts.b3c30330.js:40:6609)
n (scripts.b3c30330.js:1:115)
(anonymous function) (scripts.b3c30330.js:1:519)
Global Code (scripts.b3c30330.js:1:529)
[Error] ReferenceError: Can't find variable: regeneratorRuntime
(anonymous function) (index.js:12:86614)
(anonymous function) (index.js:12:87421)
n (index.js:1:149)
(anonymous function) (index.js:1:560)
Global Code (index.js:1:570)
[Error] TypeError: undefined is not an object (evaluating 'wp.editor.BlockControls')
Eval Code
eval
(anonymous function) (blocks.build.js:176)
__webpack_require__ (blocks.build.js:20)
Eval Code
eval
(anonymous function) (blocks.build.js:144)
__webpack_require__ (blocks.build.js:20)
Eval Code
eval
(anonymous function) (blocks.build.js:133)
__webpack_require__ (blocks.build.js:20)
(anonymous function) (blocks.build.js:63)
Global Code (blocks.build.js:64)
[Error] TypeError: undefined is not an object (evaluating 'p.InspectorControls')
(anonymous function) (blocks.build.js:1:63991)
t (blocks.build.js:1:106)
(anonymous function) (blocks.build.js:1:61661)
t (blocks.build.js:1:106)
(anonymous function) (blocks.build.js:1:59713)
t (blocks.build.js:1:106)
(anonymous function) (blocks.build.js:1:59561)
t (blocks.build.js:1:106)
(anonymous function) (blocks.build.js:1:453)
Global Code (blocks.build.js:1:462)
[Error] TypeError: undefined is not an object (evaluating 'wp.editor.InspectorControls')
(anonymous function) (view.block.editor.js:25201)
__webpack_require__ (view.block.editor.js:20)
(anonymous function) (view.block.editor.js:24826:99)
__webpack_require__ (view.block.editor.js:20)
(anonymous function) (view.block.editor.js:63)
Global Code (view.block.editor.js:64)
[Error] TypeError: undefined is not an object (evaluating 'wp.editor.InspectorControls')
(anonymous function) (ct.block.editor.js:2105)
__webpack_require__ (ct.block.editor.js:20)
(anonymous function) (ct.block.editor.js:1924:99)
__webpack_require__ (ct.block.editor.js:20)
(anonymous function) (ct.block.editor.js:63)
Global Code (ct.block.editor.js:64)
[Error] TypeError: undefined is not an object (evaluating 'wp.editor.InspectorControls')
(anonymous function) (blocks.build.js:1:11224)
t (blocks.build.js:1:106)
(anonymous function) (blocks.build.js:1:12102)
t (blocks.build.js:1:106)
(anonymous function) (blocks.build.js:1:11921)
t (blocks.build.js:1:106)
(anonymous function) (blocks.build.js:1:453)
Global Code (blocks.build.js:1:461)
[Error] TypeError: undefined is not an object (evaluating '_wp$editor.InspectorControls')
Eval Code
eval
(anonymous function) (blocks.build.js:2075)
__webpack_require__ (blocks.build.js:20)
Eval Code
eval
(anonymous function) (blocks.build.js:2063)
__webpack_require__ (blocks.build.js:20)
Eval Code
eval
(anonymous function) (blocks.build.js:2052)
__webpack_require__ (blocks.build.js:20)
(anonymous function) (blocks.build.js:63)
Global Code (blocks.build.js:64)
[Error] TypeError: undefined is not an object (evaluating 'wp.editor.BlockControls')
(anonymous function) (custom.html.block.editor.js:249)
__webpack_require__ (custom.html.block.editor.js:20)
(anonymous function) (custom.html.block.editor.js:63)
Global Code (custom.html.block.editor.js:64)
[Error] TypeError: Object(G.withColors) is not a function. (In 'Object(G.withColors)("backgroundColor",{textColor:"color"})', 'Object(G.withColors)' is an instance of Object)
(anonymous function) (index.js:12:8088)
n (index.js:1:155)
(anonymous function) (index.js:1:566)
Global Code (index.js:1:576)
[Error] TypeError: undefined is not an object (evaluating 'Object(u.select)("core/editor").getBlockSelectionStart')
(anonymous function) (index.js:12:16009)
Ge (index.js:12:13963)
INIT (index.js:12:15958)
(anonymous function) (index.js:1:1777)
(anonymous function) (index.js:12:16958)
n (index.js:1:151)
(anonymous function) (index.js:1:562)
Global Code (index.js:1:572)
[Error] TypeError: undefined is not an object (evaluating 'wp.editPost.initializeEditor')
(anonymous function) (post.php:3212)
Well - Can I have access details so I can check what's going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
After further testing and turning off Toolset plugins, the problem persists. This means that Toolset is not causing the issue. It has to do with Gutenberg itself in version 3.8 which seems to be problematic.
Thank you for assisting in this case. I can close this ticket.