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

error when adding function to a new web service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.5, 2.2.2
    • 2.1.4, 2.2.1, 2.3
    • Web Services
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      1- Create a service (Admin > Plugins > Web service > Manage service)
      2- Add few functions to service

      You never seen the error message:

      Invalid array parameter detected in required_param(): fid

      Show
      1- Create a service (Admin > Plugins > Web service > Manage service) 2- Add few functions to service You never seen the error message: Invalid array parameter detected in required_param(): fid

      Invalid array parameter detected in required_param(): fid

      line 558 of /lib/moodlelib.php: call to debugging()
      line 32 of /admin/webservice/service_functions.php: call to optional_param()

      Notice: Undefined property: stdClass::$fid in /home/aparup/mcode/22/mysql/admin/webservice/service_functions.php on line 70 Warning: Invalid argument supplied for foreach() in /home/aparup/mcode/22/mysql/admin/webservice/service_functions.php on line 70

            jerome Jérôme Mouneyrac
            nebgor Aparup Banerjee
            Rossiani Wijaya Rossiani Wijaya
            Aparup Banerjee Aparup Banerjee
            Adrian Greeve Adrian Greeve
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.