views_get_view() error

Created on 27 May 2023, almost 2 years ago

Problem/Motivation

While clicking on I get the error:

Error: Call to undefined function views_get_view() in quiz_questions_page() (line 343 of /home/customer/www/example.com/public_html/sites/all/modules/quiz/quiz.admin.inc)

Steps to reproduce

1. As an admin click on the "Manage questions" tab
2. The error mentioned above occurs

Taking the quiz works fine.

I have another issue that might be linked or not with the above error: after taking the quiz, answering all the questions in the quiz, the result feedback is not presented to the user, and the result feedback is well filled in on the quiz.

The quiz used to work fine, I have defined the quiz and the questions many years ago. I haven't tested it lately though thus I do not know when it stopped working.

I do not have the views module and I prefer not to install it as I'm not using it at all on my site.

Thank you

πŸ› Bug report
Status

Closed: works as designed

Version

5.8

Component

Code - Quiz core

Created by

πŸ‡§πŸ‡ͺBelgium pureh2o

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @pureh2o
  • Status changed to Closed: works as designed almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States djdevin Philadelphia

    Quiz requires Views, many of the admin interfaces and reports are built with it.

    Maybe you were on 4.x before? It's been a module requirement since 5.x.

    There's no plans to make Quiz function without Views, it eliminated a mountain of custom D5-era code that was being used to create lists and bulk operations.

Production build 0.71.5 2024