• Resolved xninedesign

    (@x9design)


    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.

    • This topic was modified 10 months, 3 weeks ago by xninedesign.
    • This topic was modified 10 months, 3 weeks ago by xninedesign.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Nick Mariano

    (@reddotinmotion)

    If I understand your concern correctly, were you trying to create a form in WordPress Dashboard > LifterLMS > Forms? Let me see how we can help you here.

    We tested this on LifterLMS 7.5.0 by editing any of the built-in forms (i.e., Billing Information, Register, Edit Account Information). We were not able to reproduce the JavaScript error by editing these forms.

    To add a new form using the Add New Form button, I installed and activated the LifterLMS Custom Fields add-on on my test site. Creating a new form this way by clicking on the WordPress Dashboard > LifterLMS > Forms> Add New Form button also didn’t reproduce the same issue.

    As a result, in addition to deactivating all plugins except LifterLMS 7.5.0 and the LifterLMS Custom Fields add-on, could you also switch to a default theme (e.g., the Twenty Twenty Four theme), and make sure that there are no custom codes running? We also recommend that you delete then reinstall LifterLMS 7.5.0 (and also the LifterLMS Custom Fields add-on if you are using it).

    We’ll look out for your response, and let us know if you have any other questions

    Thread Starter xninedesign

    (@x9design)

    Hello. Thank You for Your answer.

    First of all i forgot to mention about the main action which cause this error.

    I remember that i entered into Add New Form page and nothing was bad yet. What i had to do to make this error happen is to expand the LifterLMS panel (that one from LifterLMS pinned button between Update and Settings icon on top right corner) and after that reactivate the WordPress Settings panel. Now i can’t enter into Add New Form Page because this problem, but i figured out how to reproduce this issue on Add Lesson page. So here is the short video with it.

    https://gemoo.com/tools/upload-video/share/602950044051046400?codeId=MpK91JXYJOK01&card=602950040083234816

    The difference between Add New Form page and Add Lesson page is that i can open Add New Lesson Page every time after this issue happen, but when it comes to Add New Form page every opening of this subpage immediately ends with this error.

    Yes it is about the WordPress Dashboard > LifterLMS > Forms page.

    Thread Starter xninedesign

    (@x9design)

    @reddotinmotion

    Could you let me know when I can expect a response?

    • This reply was modified 10 months, 3 weeks ago by xninedesign.
    Plugin Support Alexander

    (@alextonio22)

    Hi there,

    Thanks for providing additional details about the specific actions leading to the error. Unfortunately, I encountered an issue accessing the video link you shared (https://gemoo.com/tools/upload-video/share/602950044051046400?codeId=MpK91JXYJOK01&card=602950040083234816). It seems there might be restrictions or the link has expired.

    To better understand the issue you’re facing, could you kindly resend the video of the actions you take to reproduce the error on the Add New Form page? Since I’m not able to replicate the issue on my end, having the video would greatly help in identifying the cause of the problem.

    I also want to mention that I attempted to replicate the issue on my test site, but unfortunately, I couldn’t encounter the same error. It’s possible that there might be specific configurations or conflicts in your environment causing this behavior.

    I appreciate your patience and assistance in resolving this matter. Let me know if there’s any other information needed.

    Thread Starter xninedesign

    (@x9design)

    Hello.

    I got this problem even on fresh WordPress installation.
    Here is the clip uploaded to Youtube.

    https://youtu.be/yXWB7fCv4KA

    Chris

    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @x9design,

    I was able to replicate the issue on a fresh install of WordPress and fresh install of LifterLMS. As a result, I created this bug report on our GitHub page.

    Please note that for known bugs and feature requests, even if our developers start working the problem, we won’t be able to give you an estimated timeline?on when these will be fully fixed/implemented, tested, and released. But you are free to check our bug report from time to time to see the latest developments on that specific issue.

    Thread Starter xninedesign

    (@x9design)

    Okey. Thanks. I will to trace the bug fixes.

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.