• Resolved milana05

    (@milana05)


    Hi, just want to ask if there is bug issues right now. My form is working fine for a couples of month and no problem encounter at all. But right now, there is an error of the calculation result that sent into my email like this one: Error: Detected unknown or invalid string identifier: {.

    Hope you can help me with my concern.

    Kind regards,
    Anna

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @milana05

    I hope you’re well today!

    “From outside” the form looks fine and I’m not aware of any known issue that could be causing it. It would be best if I could check the form.

    Each form can be exported from Forminator so could you export this one to a file and share exported file with us?

    Note: instead of putting the code here, better put .txt file on some file storage of yours (like your Google Drive, Dropbox or similar) and just share download link with us. You might also want to remove e-mail notifications (we’ll add them back) if you’d rather want to keep used e-mails private.

    We’d then import the form and test it and hopefully that would help find an issue.

    Best regards,
    Adam

    Thread Starter milana05

    (@milana05)

    Hi Adam,
    Thank you for your response. Here is the link of my exported form https://drive.google.com/file/d/1NTqwVcVrZYTIDGc7bsvG8BzH2vEYGbmg/view?usp=sharing

    Thanks,
    Anna

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @milana05

    Thank you for the form.

    I checked the calculations formula and updated some formulas adding parenthesis between the fields, for example:

    ( {calculation-1} ) / ( {calculation-20} )

    It showed fine now:
    https://monosnap.com/file/HbNm4Rf1Iq65KV6FR5mIyHPzG47zfe

    Can you test this exported form:
    https://pastebin.com/W4vyWyvR

    Let us know the result you got.
    Best Regards
    Patrick Freitas

    Thread Starter milana05

    (@milana05)

    Hi Patrick,
    I tested the new form that you have sent and it giving the same error when I received the result on my email.

    Error: Detected unknown or invalid string identifier: {.

    Best regards,
    Anna

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @milana05

    Can you confirm if you are using the latest Forminator version?

    Kindly try this version, I added the parenthesis on all formulas.

    https://pastebin.com/H2M6FJPE

    In case the issue persists, please send a screenshot of the values used in the front end so we can try to replicate the problem again.

    Let us know the result you got.
    Best Regards
    Patrick Freitas

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Thank you for using Forminator. We are going to close this ticket for now because we have not heard from you in a while. If you still need support we can reopen the thread.

    Cheers,
    Predrag

    Thread Starter milana05

    (@milana05)

    Hi, I am really sorry for a late response as I just check it recently the calculator is still giving an error result on my email. The version that I’ve use is Version 1.14.11

    If you have a chance please check again and use this exported form https://drive.google.com/file/d/1NTqwVcVrZYTIDGc7bsvG8BzH2vEYGbmg/view?usp=sharing

    Thanks and hope you can still reply to this thread.

    • This reply was modified 3 years, 6 months ago by milana05.
    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    HI @milana05,

    I could notice the issue as you have stated when tested. This still looks more like an error during the calculations are added, since it’s a long-form, unfortunately, I couldn’t find what exactly is causing it at the moment.

    I’m escalating this further to our developer’s attention to see if they could help with pinpointing where exactly the issue is and whether it needs any further fixes on the plugin side or not.

    Will keep you posted once we get further feedback asap.

    Kind Regards,
    Nithin

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @milana05

    It seems that the number of Calculation fields referencing each other, is limited.
    So, you will need to add
    define( 'FORMINATOR_CALC_MAX_NESTED_FORMULA', 10 );
    in wp-config.php file , above the “/* That’s all, stop editing! Happy publishing. */” comment, to avoid the issue.

    Please let us know how that goes.

    Take care,
    Dimitris

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error: Detected unknown or invalid string identifier: {.’ is closed to new replies.