Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PARAM type not defined for some fields #1

Open
mudrd8mz opened this issue Feb 5, 2021 · 0 comments
Open

PARAM type not defined for some fields #1

mudrd8mz opened this issue Feb 5, 2021 · 0 comments
Assignees

Comments

@mudrd8mz
Copy link

mudrd8mz commented Feb 5, 2021

When going to enrolment instance edit form enrol/iyzicopayment/edit.php?courseid=xyz I am getting the following notice:

Did you remember to call setType() for 'cost'? Defaulting to PARAM_RAW cleaning.

    line 1395 of /lib/formslib.php: call to debugging()
    line 322 of /lib/formslib.php: call to moodleform->detectMissingSetType()
    line 228 of /lib/formslib.php: call to moodleform->_process_submission()
    line 67 of /enrol/iyzicopayment/edit.php: call to moodleform->__construct()

Ref: https://docs.moodle.org/dev/Plugin_contribution_checklist#Functionality

@ugurarici ugurarici self-assigned this Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants