Skip to content

[docs] Error in [Writing a new service] #762

@arturomsoberanes

Description

@arturomsoberanes

What is the URL of the page?

https://moodledev.io/docs/4.1/apis/subsystems/external/writing-a-service

What is the issue with this page?

I'm working with moodle version 4.1.5 and i was making a new external service but in the docs show how create a new Web Service using namespaces and in the section "Write the external function descriptions" you are still using the require_once for the externallib.php file, and if we try to use it, doesn't work.
By the way i love the new moodle devdocs ❤️

Screenshot 2023-10-06 154521

Are you able to provide a patch for this?

Yes - I will create one

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationhelp wantedExtra attention is neededneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @arturomsoberanes

        Issue actions

          [docs] Error in [Writing a new service] · Issue #762 · moodle/devdocs