• Resolved blue3141

    (@blue3141)


    Good evening,
    After I hit the ‘start’ button of a quiz a white page with the title appears. There’s no timer, no question, nothing. I tried removing all the CSS, didn’t work; clearing the cache, didn’t work; disabling one plugin at a time, didn’t work; getting the latest jquery with jquery migrate, didn’t work. It didn’t report any deprecation.
    What can I do to solve this situation?

    Thank you so much!

    (the password is pass23)

    • This topic was modified 3 years, 1 month ago by blue3141.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi,

    Please disable all plugins except LearnPress and setup the permalink of your site like this https://prnt.sc/1uu6ojp

    Thanks

    Thread Starter blue3141

    (@blue3141)

    Hi,
    after spending some time messing with the plugins, I found that the problem was the compatibility with “Simple MathJax”. In your plugin there’s this couple of lines

    if (typeof MathJax !== 'undefined') {
            MathJax.Hub.Queue(['Typeset', MathJax.Hub]);}

    In both quiz.js (for frontend) and question.js (under quiz). That made both plugins (LearnPress and Simple MathJax) go mad. I commented it in quiz.js and commented only the if (typeof MathJax !== 'undefined') and its brackets in the question.js file (in order to always do MathJax.Hub.Queue).

    Now the Simple Mathjax works fine on every page but Learnpress ones, and Learnpress loads its own expression, showing math correctly (it formats LaTeX to MathJax). It would be amazing a good integration between the two plugins (it would just require loading the config and custom LaTeX preamble) to make everything work with Simple MathJax, but anyway math is shown everywhere now so it’s fine.

    Thank you for your attention and time!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quiz not working’ is closed to new replies.