JavaScript Error while trying to enter add form Dashboard page
-
Somehow while trying to create new form i got a well know error page with message The Editor Has Encountered an Unexpected Error
Here is outupt from DOM console:
TypeError: Cannot read properties of undefined (reading 'name') at llms-blocks.js?ver=f5f6dbb6512469b72f2c:24:44869 at ux.render (components.min.js?ver=f6e63a4760dcece8b909:48:224450) at br (react-dom.min.js?ver=18.2.0:10:59479) at yr (react-dom.min.js?ver=18.2.0:10:59277) at js (react-dom.min.js?ver=18.2.0:10:121535) at wl (react-dom.min.js?ver=18.2.0:10:88659) at bl (react-dom.min.js?ver=18.2.0:10:88587) at yl (react-dom.min.js?ver=18.2.0:10:88450) at il (react-dom.min.js?ver=18.2.0:10:85274) at fl (react-dom.min.js?ver=18.2.0:10:85661)
I used code below to turn off the gutenberg editor but it not helped
add_filter('use_block_editor_for_post_type', 'prefix_disable_gutenberg', 10, 2); function prefix_disable_gutenberg($current_status, $post_type) { // Use your post type key instead of 'product' if ($post_type === 'llms_form') return false; return $current_status; }
Even when all plugins are disabled and LifterLMS as only which is Enabled problem does not dissapear. First time I had this error while using 7.5.0 version, so I downgraded to version 7.4.2 and that doesn’t help either.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘JavaScript Error while trying to enter add form Dashboard page’ is closed to new replies.