Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75619

Error: "'name' value must be set" when saving activity settings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not a bug
    • 4.0.3
    • None
    • Assignment, Forum, Quiz
    • MOODLE_400_STABLE

    Description

      I get an error every time I save settings in any kind of activity module.  I have tried: Assignment, Forum, Label, Quiz, and URL.  It happens every time.  Despite the error, the settings do save, and the activities work as they should. 

      I am using moodle Moodle 4.0.3+ (Build: 20220826), Adaptable theme, Grid format.  This problem started immediately after I upgraded from moodle 3.11 to moodle 4.

      After saving, I see: Coding error detected, it must be fixed by a programmer: The 'name' value must be set in other.

      Debugging output: Notice: Trying to get property 'name' of non-object in <my moodle directory>/course/modlib.php on line 692

      Attachments

        Activity

          People

            Unassigned Unassigned
            mrevans.info Brian Evans
            Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: