• Hi,
    I have multiple quizes with contact fields at the beginning of the quiz.
    Every not and then, some of these quizes just stop showing the contact fields on the front end. In the backend the editor doesn’t allow to add new fields and previously existing ones are not shown.
    I have to rebuild the quiz by hand as duplicating it bring the error along. I can’t seem to figure out when this occurs, I can’t isolate a pattern.
    There’s a weird log in my console on the backend editor, when opening the contact tab:

    Uncaught TypeError: Cannot use 'in' operator to search for 'length' in 1
        at s (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,underscore,jquery-ui-core,jquery-ui-mouse,jquery&load[]=-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-tabs,backbone,jquery-effects-core,jquery-effects-s&load[]=ize,jquery-effects-scale,jquery-ui-sortable,quicktags,wp-a11y,wplink,jquery-form&ver=5.0.3:2)
        at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,underscore,jquery-ui-core,jquery-ui-mouse,jquery&load[]=-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-tabs,backbone,jquery-effects-core,jquery-effects-s&load[]=ize,jquery-effects-scale,jquery-ui-sortable,quicktags,wp-a11y,wplink,jquery-form&ver=5.0.3:2)
        at Object.load (qsm-admin-contact.js?ver=6.1.2:1)
        at HTMLDocument.<anonymous> (qsm-admin-contact.js?ver=6.1.2:37)
        at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,underscore,jquery-ui-core,jquery-ui-mouse,jquery&load[]=-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-tabs,backbone,jquery-effects-core,jquery-effects-s&load[]=ize,jquery-effects-scale,jquery-ui-sortable,quicktags,wp-a11y,wplink,jquery-form&ver=5.0.3:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,underscore,jquery-ui-core,jquery-ui-mouse,jquery&load[]=-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-tabs,backbone,jquery-effects-core,jquery-effects-s&load[]=ize,jquery-effects-scale,jquery-ui-sortable,quicktags,wp-a11y,wplink,jquery-form&ver=5.0.3:2)
        at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,underscore,jquery-ui-core,jquery-ui-mouse,jquery&load[]=-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-tabs,backbone,jquery-effects-core,jquery-effects-s&load[]=ize,jquery-effects-scale,jquery-ui-sortable,quicktags,wp-a11y,wplink,jquery-form&ver=5.0.3:2)
        at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,underscore,jquery-ui-core,jquery-ui-mouse,jquery&load[]=-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-tabs,backbone,jquery-effects-core,jquery-effects-s&load[]=ize,jquery-effects-scale,jquery-ui-sortable,quicktags,wp-a11y,wplink,jquery-form&ver=5.0.3:2)
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nostro

    (@nostro)

    I’m guessing the issue lies with jquery, just can’t figure out where.
    Thanks for your help.

    Thread Starter nostro

    (@nostro)

    Weird thing is:
    – I just installed a fresh copy of WP with NO plugins and only the default theme
    – I installed a fresh copy of QSM to the new test site
    – I migrated data from my live site to the new test site (4 database tables: mlw_qm_audit_trail, mlw_questions, mlw_quizzes, mlw_results)
    – The plugin works correctly except for the error mentioned bellow, which is still present.

    This way I see the issue doesn’t lie with the theme or plugins but apparently in my database for this plugin. Please help!

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

The topic ‘Contact fields are suddenly missing’ is closed to new replies.