I installed the Quiz 6.x.3.x-dev module as i needed the long answer feature and unfortunately i ran into this problem when creating a quiz page.
Fatal error: Unsupported operand types in /var/www/includes/common.inc on line 1265
I understand this is a developement version, but anybody else seen this problem before, and if so did you manage to get a workaround?

Regards
Jay

CommentFileSizeAuthor
#3 quiz.patch1.01 KBjseffel

Comments

jseffel’s picture

I got the same problem.

jseffel’s picture

I have got the same problem.

jseffel’s picture

StatusFileSize
new1.01 KB

Attached a patch. Problem was that quiz_take_quiz() returned an empty string when it should have returned and array.

robin van emden’s picture

Status: Active » Reviewed & tested by the community

patch works for me, jseffel, thanks!

mbutcher’s picture

There are some *great* patches coming in on a host of tickets. As soon as I get my current project wrapped up (due this week) then I will be heading back to quiz. At that point, I will roll this and other patches into the 2.x and 3.x trees.

Thanks for the patch!

jayboodhun’s picture

Great the patch worked for me.
Many thanks for your help jseffel

Jay

mbutcher’s picture

This patch is now committed. Thank you all for the patch and the testing.

mbutcher’s picture

Category: support » bug
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.