Quantcast
Channel: Problemas Generales
Viewing all articles
Browse latest Browse all 5438

No es posible crear nuevo curso

$
0
0

por Vladimir Rodriguez.  

Hola. Tengo Moodle 3.1.2 instalado, uso el tema Adaptable y de momento hay un único curso creado. Todo funcionaba perfectamente, pero ahora al intentar crear un nuevo curso me sale el error:

Excepción - Using $this when not in object context

El depurador me lanza esta información:

Debug info: 
Error code: generalexceptionmessage
Stack trace:
  • line 582 of /lib/pear/HTML/QuickForm.php: Error thrown
  • line 548 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm::_loadElement()
  • line 133 of /lib/form/dateselector.php: call to HTML_QuickForm::createElement()
  • line 546 of /lib/pear/HTML/QuickForm/group.php: call to MoodleQuickForm_date_selector->_createElements()
  • line 163 of /lib/pear/HTML/QuickForm/group.php: call to HTML_QuickForm_group->_createElementsIfNotExist()
  • line 196 of /lib/form/dateselector.php: call to HTML_QuickForm_group->setValue()
  • line 382 of /lib/pear/HTML/QuickForm/element.php: call to MoodleQuickForm_date_selector->onQuickFormEvent()
  • line 417 of /lib/pear/HTML/QuickForm/group.php: call to HTML_QuickForm_element->onQuickFormEvent()
  • line 217 of /lib/form/dateselector.php: call to HTML_QuickForm_group->onQuickFormEvent()
  • line 582 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm_date_selector->onQuickFormEvent()
  • line 612 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm->_loadElement()
  • line 124 of /course/edit_form.php: call to HTML_QuickForm->addElement()
  • line 201 of /lib/formslib.php: call to course_edit_form->definition()
  • line 149 of /course/edit.php: call to moodleform->__construct()

Es muy extraño. Tampoco puedo respaldar el curso que ya tengo. Me indica que no puede acceder a la base de datos, pero nada cambió. La base de datos está igual, las credenciales de acceso también, el archivo Config.php tiene los datos correctos. De hecho puedo entrar al sitio, puedo ver el curso que ya existe y entrar en sus módulos y en cada elemento creado en él. Es decir, la base de datos funciona y Moodle accede a ella.

Si alguien tiene información al respecto estaría muy agradecido.

Saludos.


Viewing all articles
Browse latest Browse all 5438

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>