Closed (fixed)
Project:
Quiz
Version:
7.x-5.x-dev
Component:
Code - Quiz core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2012 at 10:19 UTC
Updated:
7 Jan 2015 at 19:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ultimikeI'm seeing the same thing in my site logs and I think it has to do with the fact that there is no theme_node_form default function. Here's some background (https://drupal.org/node/775012), but I think the solution is to simply remove the
return theme('node_form', array('form' => $form));line fromtheme_quiz_node_form($variables)in quiz/quiz.admin.incIn my quick testing of this, there were no ill effects (since the theme hook doesn't exist anyway) and the error no longer appears in the log.
I've attached a patch.
Thanks,
-mike
Comment #2
idebr commentedThis issue still occurs in the latest 7.x-5.x version on every Quiz-form (node/%node/edit).
This is probably a leftover from previous Quiz-versions, considering theme_node_form has been removed in Drupal 7: #596582: Remove remnants of theme_node_form() Assigned to: sun
Attached patch removes the theme implementation.
Comment #3
djdevinFixed!