• Resolved jurasjo

    (@jurasjo)


    Hi, my site uses:

    PHP: 8.1.29

    WordPress: 6.6.1

    LifterLMS: 7.7.5

    When creating quiz questions, there is a possibility to apply some styles to text like shown on the screenshot:

    The problem is, that it is not parsed correctly and those tags are visible in the quiz summary and historical attempts, after a student finishes the quiz. When none of those style options (U B I) is selected, displayed question is fine.

    Additionally, there are some PHP Deprecated messages. Those are visible because it is my staging site, so debug is on.

    PHP Deprecated:  round(): Passing null to parameter #1 ($num) of type int|float is deprecated in .../wp-content/plugins/lifterlms/templates/quiz/results.php on line 75

    PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in .../wp-content/plugins/lifterlms/includes/models/model.llms.quiz.attempt.php on line 344
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Alexander

    (@alextonio22)

    @jurasjo

    Thank you for providing the details.

    Our team is aware of the issue with the styling tags not being parsed correctly in quiz questions, and a pull request (PR) addressing this is already in progress.

    While we cannot confirm the exact release date, we anticipate that the fix may be included in an update later this week.

    All the best,

    Plugin Author Brian Hogg

    (@brianhogg)

    HI @jurasjo ,

    Thanks again for the report. If you update to version 7.7.6, you should no longer see the HTML tags in the quiz summary / results. Could you confirm on your site?

    Regarding the warnings, I’ve added a ticket to take a look at them. It appears they are related to an incomplete quiz attempt, for example refreshing the page before the quiz has been completed.

    https://github.com/gocodebox/lifterlms/issues/2747

    Thread Starter jurasjo

    (@jurasjo)

    I can confirm the problem with HTML tags in the quiz summary / results is fixed.

    As of warnings, you are right. Looks like it is connected to leaving the quiz, before completing it.

    I am marking this topic as resolved. I can see you have GitHub issue to track warnings.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.