• Resolved wpcork

    (@wpcork)


    Hello,

    I’m using your cost calculator and when I recently tried to update the content of one field the SAVE button for the field would not work.

    When I check the browser console after clicking the field Save button I can see the following…

    TypeError: Cannot read properties of undefined (reading 'includes')
    at admin.js?ver=3.5.12:2:4738388
    at Array.map ()
    at e.addToBuilder (admin.js?ver=3.5.12:2:4738216)
    at admin.js?ver=3.5.12:2:2697483
    at admin.js?ver=3.5.12:2:2699304
    at Array.forEach ()
    at admin.js?ver=3.5.12:2:2699283
    at f._withCommit (admin.js?ver=3.5.12:2:2701460)
    at f.commit (admin.js?ver=3.5.12:2:2699257)
    at e.commit (admin.js?ver=3.5.12:2:2694952)

    I have disabled all plugins and I’ve enabled the default Twentyfive Theme.

    How can I fix this so that I can edit/update my calculators?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support TomStylemixThemes

    (@tomstylemixthemes)

    Hi

    Thank you for reaching out and providing the console error details — that’s very helpful.

    Based on the error and your description, the issue may be triggered from the server side, especially if there are any CDN services, caching layers, or optimization tools (such as JS minification or combining scripts) active. These can sometimes interfere with how our admin script files are loaded or executed.

    Please check if your hosting environment includes any such tools or settings. If so, try temporarily disabling those features and clear any server-side cache, then test the Save function again.

    Hope it will help to resolve the issue!

    Best regards

    Thread Starter wpcork

    (@wpcork)

    Hello,

    Thank you for your reply, however I’ve cloned the website to a Flywheel .local site and the problem is still present.

    There are no other plugins active, I’m using the TwentyTwentyfive theme and there is no caching, CDN or optimisations in place.

    I have also found that I can create new forms, which can be edited, but my existing form cannot be edited.

    It looks like the error only occurs when I try to edit older, existing forms, so there seems to be a backwards-compatibility issue with the plugin.

    Best Regards,

    Donal

    Plugin Support mgordon7

    (@mgordon7)

    We didn’t reproduce such a case on our testing. The issue might be due to the fact that older calculator forms were created incorrectly or lost connection with the existing elements. To resolve this, try to recreate a new form instead of editing the old form. If you want we can check the old calculator form. if you could get the server error logs that come while editing the old calculator form

    Best regards

    Thread Starter wpcork

    (@wpcork)

    Hi,

    It’s my existing calculators that are not working, so I’m going to need to re-build them, which is disappointing.

    Regards,
    Donal

    Plugin Support mgordon7

    (@mgordon7)

    If you have difficulties on please let us know, we will be glad to assist you further

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cannot Save Changes To Fields’ is closed to new replies.