Fatal error: Class 'question_behaviour_type' not found

Re: Fatal error: Class 'question_behaviour_type' not found

de David Arroyo -
Número de respuestas: 0

Hola yo mismo (y algún ocioso que esté leyendo).

Después de dar vueltas y vueltas por un montón de código que no entiendo.... finalmente encontré que un archivo llamado "behaviourtypebase.php" dentro de  moodle>question>behaviour 

¡Estaba completamente en blanco! Ni una sola línea de código tenía. Me fui al original, lo subí y ya desapareció ese "Fatal error". (Quizá se descomprimió mal el zip, no tengo idea).

PERO ahora en algunas páginas me sale esto:

- - - - - - - - 

Question behaviour immediatecbm does not define the required class qbehaviour_immediatecbm_type.

  • line 291 of /question/engine/lib.php: call to debugging()
  • line 341 of /question/engine/lib.php: call to question_engine::get_behaviour_type()
  • line 328 of /question/engine/lib.php: call to question_engine::is_behaviour_archetypal()
  • line 399 of /question/engine/lib.php: call to question_engine::get_archetypal_behaviours()
  • line 4866 of /lib/adminlib.php: call to question_engine::get_behaviour_options()
  • line 3063 of /lib/adminlib.php: call to admin_setting_question_behaviour->load_choices()
  • line 1500 of /lib/adminlib.php: call to admin_setting_configselect->output_html()
  • line 139 of /admin/settings.php: call to admin_settingpage->output_html()

- - - - - - 

Parece que no afecta mucho la funcionalidad del sitio, pero se ve horrendo. (Digo, podría quitar el debugging, pero me gustaría intentar resolverlo).

¿Alguna idea de como solucionar esto o al menos saber que significa? =S

Me sumergiré de nuevo en el código a ver si encuentro algo.