Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

uncaught type error - issues with "run if"

Hi all,

I set up an experiment is OpenSesame which works great and made sure to include only elements that would run in OSweb (i.e., all inlines are in javascript, no form displays etc). Still, I get an ucaught typeError: cannot reader property "body" of null. It seems to me the problem has to do with "run if" conditions I use. For example, I have two loops and I run one or the other depending on a value set in a preceding loop (e.g., the run-if field says [condition]=1 or [condition]=0 etc. Am I doing something wrong using those run if statements? Don't these work in osweb as they do in OpenSesame?

Thanks in advance,

marios

Comments

  • Ok, solved this. Don't really know what was wrong but I rewrote a javascript inline I had and now it works perfectly in both OS and OSweb.

    m

  • Hello.

    Could you please tell what did you need to rewrite?

    I am encountering the very same error. The experiment is compatible, but I have "run if" conditions for var.subject_nr too. Would OSWeb support the run ifs with subject numbers at all?

    Best,

    Hülya

  • Hi,

    Solved the problem with Sebastiaan's suggestion in here:

    https://forum.cogsci.nl/discussion/6000/application-error#latest

    Thanks and sorry for reviving this discussion.

    Best,

    Hülya

Sign In or Register to comment.