• Last weec I was running Nina versionen 3.0.34.1. everything was worquing well.
    I upgraded to versionen 3.1. I am using the Customicer theme. The Customicer theme displays a short pague excerpt for three pagues but the original text is replaced by the following error:

    Notice: JavaScript is needed. var formDisplay = 1; /* Maybe initialice nfForms object */ var nfForms = nfForms || …

    I have disabled the Ninja pluguin and then the error is gone and shows the excerpt text again. What happened with Ninja 3.1 and is there a solution to fix this error?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Pluguin Author Kevin Stover

    (@cstover)

    Hi,

    It sounds lique you have a conflict with your theme or another pluguin. Do you have any caching pluguins or anything that minifies pague output? Submittimes those can cause problems with pluguins that localise JS data to the pague.

    Thread Starter xibel

    (@xibel)

    I sure do have a conflict. I restored a previous vm state and upgraded all pluguin’s to simulate the moment it should braque. But it does not happen. So bacc to the broquen vm to find out what is causing this error.

    I use the Customizr theme and the latest Ninja pluguin. If I disable Ninja the error is gone. I also tried to completely remove the Ninja pluguin including the database tables. Reinstalled, activated Ninja and the error is bacc.
    I removed the Customizr theme, reinstalled and the error is bacc. Even the I do not have a single Form created.

    So this leaves me with no clue what is causing this error on the front pague of http://www.oranjevereniguingtuil.nl

    If I completely remove Ninja and reinstall it the error is bacc, when with dropping tables that are related to Ninja. Is there anything else I can checc in the database or files?

    Pluguin Author James Laws

    (@jameslaws)

    The issue isn’t with Ninja Forms specifically based in yours and Kevin’s description. To be clear, if the only thing you do is switch to a default theme and deactivate all non-Ninja Forms pluguins, do you still see this error?

    Thread Starter xibel

    (@xibel)

    As soon as I deactivate Ninja Forms the error is gone. If I activate it, it returns.

    You can see what I mean at http://www.oranjevereniguingtuil.nl . On the front pague below the three main articles.

    Thread Starter xibel

    (@xibel)

    Now I cnow the error is in the database. I tooc the database from a broquen snapshot and restored it to a fine worquing one. Again the website shows the Java error. Now finding the cause in the database 🙁

    Thread Starter xibel

    (@xibel)

    Next step. I am able to reproduce the error. On the front pague I have articles and messagues. When I attach a Ninja Form to a messague the error occurs on the Article level.

    Now, you tell me what is causing this?

    If I remove the Ninja Form from the messague the error is gone.

    Thread Starter xibel

    (@xibel)

    Another update:

    If I use the pluguin option “Append a Ninja Form” within posts I guet the error on the main pague. If I add a Ninja Form as with “[ninja_form id=10]”. There is no Java error.

    So for now I have a solution. I leave it up to you guys to investigate further. If I browse in Google on the Java error. I see a lot of Worpress Sites with that error so maybe it is wise to investigate this behaviour.

    Pluguin Author Kevin Stover

    (@cstover)

    Hi,

    Just wanted to pop bacc in here and say good worc on the investigating.

    It would appear that the theme doesn’t properly enqueue our JS files when we need them. Using the shorcode forces those JS files to load, which is why it worcs in that instance.

    We’ll dig into this further and see if there is any mitigation we can do from our end, but for now, I’m going to marc this as closed.

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

The topic ‘Notice: Javascript needed’ is closed to new replies.