Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-1528

OpenMeetings 3.1.3 - Problem with Moodle plugin OpenMeetings 2.0.0.5

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.3
    • None
    • Plugins
    • None

    Description

      I´ve installed OpenMeetings 3.1.3 and Moodle 2.8 with plugin module OpenMeetings 2.0.0.5 and I saw in Moodle log next error:

      PHP Fatal error: Call to undefined method mod_openmeetings_mod_form::standard_intro_elements() in /aplicaciones/moodle/e-formacio/e-formacio-eva/mod/openmeetings/mod_form.php on line 151, referer: http://eformacio-dsa.gva.es/eva/course/view.php?id=204

      Attachments

        1. Moodle-2.8.10.png
          93 kB
          Antonio Gómez

        Activity

          mwuttke Could you please check if you have correct version of Moodle installed? (I only have Moodle 3+)

          solomax Maxim Solodovnik added a comment - mwuttke Could you please check if you have correct version of Moodle installed? (I only have Moodle 3+)
          angober Antonio Gómez added a comment -

          I've installed Moodle 2.8.10:

          angober Antonio Gómez added a comment - I've installed Moodle 2.8.10:
          mwuttke Michael Wuttke added a comment - - edited

          Hello Maxim,
          i can confirm the issue. I tested the moodle om plugin version 2.0.0.5, moodle version 2.7.14/2.8.12 and OM version 3.1.3 and it does not work.

          See the following error:
          Debug info:
          Error code: generalexceptionmessage
          Stack trace:
          line 151 of /mod/openmeetings/mod_form.php: Error thrown
          line 196 of /lib/formslib.php: call to mod_openmeetings_mod_form->definition()
          line 86 of /course/moodleform_mod.php: call to moodleform->moodleform()
          line 193 of /mod/openmeetings/mod_form.php: call to moodleform_mod->moodleform_mod()
          line 246 of /course/modedit.php: call to require_once()

          But I also tested the moodle om plugin version 2.0.0.5, moodle version 2.9/3.0/3.1 and OM version 3.1.3 and it works for me: I can create, enter and delete OM rooms via moodle.

          Thanks & Greetings,
          Michael

          mwuttke Michael Wuttke added a comment - - edited Hello Maxim, i can confirm the issue. I tested the moodle om plugin version 2.0.0.5, moodle version 2.7.14/2.8.12 and OM version 3.1.3 and it does not work. See the following error: Debug info: Error code: generalexceptionmessage Stack trace: line 151 of /mod/openmeetings/mod_form.php: Error thrown line 196 of /lib/formslib.php: call to mod_openmeetings_mod_form->definition() line 86 of /course/moodleform_mod.php: call to moodleform->moodleform() line 193 of /mod/openmeetings/mod_form.php: call to moodleform_mod->moodleform_mod() line 246 of /course/modedit.php: call to require_once() But I also tested the moodle om plugin version 2.0.0.5, moodle version 2.9/3.0/3.1 and OM version 3.1.3 and it works for me: I can create, enter and delete OM rooms via moodle. Thanks & Greetings, Michael

          Hello mwuttke

          Thanks for testing!
          Unfortunately Moodle 2.8 is not compatible with PHP 7, so I can't install it on my server

          Could you please edit
          https://github.com/openmeetings/openmeetings-moodle-plugin/blob/master/mod_form.php#L151

          and change
          $this->standard_intro_elements(get_string('description', 'openmeetings'));
          with
          $mform->addElement('htmleditor', 'intro', get_string('description', 'openmeetings'));
          $mform->setType('intro', PARAM_RAW);

          I guess this might help

          If it will not help, I'll set up VM with old Ubuntu to test this
          Thanks in advance!

          solomax Maxim Solodovnik added a comment - Hello mwuttke Thanks for testing! Unfortunately Moodle 2.8 is not compatible with PHP 7, so I can't install it on my server Could you please edit https://github.com/openmeetings/openmeetings-moodle-plugin/blob/master/mod_form.php#L151 and change $this->standard_intro_elements(get_string('description', 'openmeetings')); with $mform->addElement('htmleditor', 'intro', get_string('description', 'openmeetings')); $mform->setType('intro', PARAM_RAW); I guess this might help If it will not help, I'll set up VM with old Ubuntu to test this Thanks in advance!
          mwuttke Michael Wuttke added a comment - - edited

          Hello Maxim Solodovnik,

          with your suggestion of code changing the creation, entering and deletion of OM rooms via moodle works as expected now for moodle versions 2.7/2.8/2.9/3.0/3.1.
          I've updated the om moodle plugin version 2.0.0.5 up to 2.0.0.5a in the moodle plugin database: https://moodle.org/plugins/pluginversions.php?plugin=mod_openmeetings

          Thanks & Greetings,
          Michael

          mwuttke Michael Wuttke added a comment - - edited Hello Maxim Solodovnik, with your suggestion of code changing the creation, entering and deletion of OM rooms via moodle works as expected now for moodle versions 2.7/2.8/2.9/3.0/3.1. I've updated the om moodle plugin version 2.0.0.5 up to 2.0.0.5a in the moodle plugin database: https://moodle.org/plugins/pluginversions.php?plugin=mod_openmeetings Thanks & Greetings, Michael

          AFAIK 2.7 and 2.8 are no longer supported
          Maybe it worth to remove it's support from the plugin?

          solomax Maxim Solodovnik added a comment - AFAIK 2.7 and 2.8 are no longer supported Maybe it worth to remove it's support from the plugin?
          mwuttke Michael Wuttke added a comment -

          Hello Maxim,

          moodle 2.7 will be supported until May of 2017: https://docs.moodle.org/dev/Moodle_2.7_release_notes#Long-term_support_.28LTS.29_until_May_2017

          Thanks & Greetings,
          Michael

          mwuttke Michael Wuttke added a comment - Hello Maxim, moodle 2.7 will be supported until May of 2017: https://docs.moodle.org/dev/Moodle_2.7_release_notes#Long-term_support_.28LTS.29_until_May_2017 Thanks & Greetings, Michael

          New git branch "2.7.3.1" with these changes is created:
          https://github.com/openmeetings/openmeetings-moodle-plugin/tree/2.7.3.1

          solomax Maxim Solodovnik added a comment - New git branch "2.7.3.1" with these changes is created: https://github.com/openmeetings/openmeetings-moodle-plugin/tree/2.7.3.1

          People

            solomax Maxim Solodovnik
            angober Antonio Gómez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: