Problem/Motivation

Currently when I try to delete a quiz node, I get Fatal error: Class name must be a valid object or a string in /sites/all/modules/contrib/quiz/question_types/quiz_question/quiz_question.module on line 652

Here is line 652:

$to_return = new $constructor($result_id, $question, $answer);

When I output the values, $result_id is the only variable with a value.

I have the same error when I try to delete a group or a user. Any assistance would be appreciated.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

robpowell created an issue. See original summary.

djdevin’s picture

Hi,

Can you confirm the version you are on? 6.x is not stable.

I cannot reproduce the error.

robpowell’s picture

Version: 7.x-6.x-dev » 7.x-5.0-rc1

Sorry, I think that defaulted to the top value, we are actually on 7.x-5.0-rc1. Please let me know if you need any more information.

djdevin’s picture

We also have OG groups, but we can delete them (and users). Could you try a newer release? 5.0 is final and stable :)

robpowell’s picture

great, I'll try that and let you know how it goes. What I find interesting is that when I delete a group node, quiz node or a user- I get the error message above.

Da_Cloud’s picture

David_Rothstein’s picture

Status: Active » Closed (duplicate)

Thanks @Da_Cloud - very helpful. I'm working with Rob on this, and the patch there seems to have fixed it, so tentatively marking this issue as a duplicate.