• Resolved randyfuj

    (@randyfuj)


    On the Branching Question editor window, the input textbox to add the questions is missing with the text “[field:group:branchingQuestion:branchingQuestion]” displaying instead of input textbox (see screenshot below).

    Using Google Chrome on Windows 10. WordPress 6.3, H5P plugin version
    1.15.6.

    I’ve already tried uploading the sample H5P Branching Scenario file after setting “define(‘H5P_DEV’, true);” in wp-config.php.

    Any help by anyone would be tremendously appreciated. Thank you!

    FYI, in the browser console, this error comes up:
    Error: Unable to locate Branching Question Editor. Did someone change Core?
    ? ? at s.value (dist.js?ver=1.5.2:2:246624)
    ? ? at s.ready (dist.js?ver=1.5.2:2:241803)
    ? ? at s.value (dist.js?ver=1.5.2:2:245594)
    ? ? at s.value (dist.js?ver=1.5.2:2:245060)
    ? ? at ll (dist.js?ver=1.5.2:2:127341)
    ? ? at gs (dist.js?ver=1.5.2:2:144967)
    ? ? at t.unstable_runWithPriority (dist.js?ver=1.5.2:2:170653)
    ? ? at Wo (dist.js?ver=1.5.2:2:89070)
    ? ? at bs (dist.js?ver=1.5.2:2:141633)
    ? ? at rs (dist.js?ver=1.5.2:2:137787)
    nl @ dist.js?ver=1.5.2:2
    n.callback @ dist.js?ver=1.5.2:2
    hi @ dist.js?ver=1.5.2:2
    ll @ dist.js?ver=1.5.2:2
    gs @ dist.js?ver=1.5.2:2
    t.unstable_runWithPriority @ dist.js?ver=1.5.2:2
    Wo @ dist.js?ver=1.5.2:2
    bs @ dist.js?ver=1.5.2:2
    rs @ dist.js?ver=1.5.2:2
    (anonymous) @ dist.js?ver=1.5.2:2
    t.unstable_runWithPriority @ dist.js?ver=1.5.2:2
    Wo @ dist.js?ver=1.5.2:2
    Go @ dist.js?ver=1.5.2:2
    qo @ dist.js?ver=1.5.2:2
    Yl @ dist.js?ver=1.5.2:2
    enqueueSetState @ dist.js?ver=1.5.2:2
    w.setState @ dist.js?ver=1.5.2:2
    value @ dist.js?ver=1.5.2:2
    (anonymous) @ dist.js?ver=1.5.2:2
    (anonymous) @ dist.js?ver=1.5.2:2
    onDropped @ dist.js?ver=1.5.2:2
    (anonymous) @ dist.js?ver=1.5.2:2
    (anonymous) @ dist.js?ver=1.5.2:2
    dist.js?ver=1.5.2:2

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Could you check the contents of wp-content/uploads/h5p/libraries on your file system. Is there a folder name starting with H5PEditor.BranchingQuestion- ?

    Also, check the network tab and try to filter on the same prefix. Either the library is missing, or there is an issue with loading the JS file in the browser.

    Thread Starter randyfuj

    (@randyfuj)

    Yes, there is a folder there named “H5PEditor.BranchingQuestion-1.0” and inside the folder are two files (index.js, library.json) and a subfolder “language.”

    I looked at the Network tab in the browser developer tools and did not see anything related to H5P anywhere.

    Thanks a lot for your help on this.

    Plugin Author icc0rz

    (@icc0rz)

    Looks like you have the library on your server, so then it’s most likely the browser having an issue loading the file.

    Thread Starter randyfuj

    (@randyfuj)

    You’re right! It was a browser problem because I got it to work on a different browser. I’ve tried this before but not after this step:
    I’ve already tried uploading the sample H5P Branching Scenario file after setting “define(‘H5P_DEV’, true);” in wp-config.php.

    I cleared my primary browser (Chrome) cache and now it’s working fine there too. Thanks a lot for your help!

    Plugin Author icc0rz

    (@icc0rz)

    Super, I’m glad to hear that you got it working.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Branching Scenario Question Editor Not Working in WordPress’ is closed to new replies.