Skip to content
New issue

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

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

Already on GitHub? # to your account

Error while creating Simple Certificate activity in moodle 3.5.1 #206

Closed
sudhanshu0044 opened this issue Aug 8, 2018 · 4 comments
Closed
Assignees

Comments

@sudhanshu0044
Copy link

While creating activity using "Simple Certificate" in moodle 3.5.1 I am facing issue in it.
Error code I am receiving is

"Exception - Argument 1 passed to file_get_all_files_in_draftarea() must be of the type integer, null given, called in [dirroot]/lib/form/filemanager.php on line 336"

I have attached error screen below.
screenshot from 2018-07-31 17-34-57

Steps to reproduce the behavior:

  1. Install Simple Certificate plugin in moodle 3.5.1.
  2. Create an activity using simple certificate.
  3. After filling the user fields & finally click on Saving & changes
  4. See error

Here we expect that activity will successfully created.

@bozoh
Copy link
Owner

bozoh commented Aug 8, 2018

i can't reproduce this, have created many certificates with images, without images and works as expected, and this error messages isn't in the plugins files so it's very difficult to find where the error is without more info.

  1. Which plugin version ?
  2. Which php version?
  3. can you turn on moodle's debug mode, and post the full error log ?

@sudhanshu0044
Copy link
Author

sudhanshu0044 commented Aug 9, 2018

  1. I am using "Simple Certificate 2.2.8 (2018080400) - on Moodle 3.5"
  2. Using php 7.1 version
  3. Turning on the debug mode I am receiving error
    screenshot from 2018-08-08 11-12-36

@bozoh
Copy link
Owner

bozoh commented Aug 17, 2018

i created a issue report in moodle tracker site, it's seems not be realted to my code but some changes in moodle_34 and moodle_35

please vote into it
https://tracker.moodle.org/browse/MDL-63180

1 similar comment
@bozoh
Copy link
Owner

bozoh commented Aug 20, 2018

i created a issue report in moodle tracker site, it's seems not be realted to my code but some changes in moodle_34 and moodle_35

please vote into it
https://tracker.moodle.org/browse/MDL-63180

@bozoh bozoh self-assigned this Aug 20, 2018
bozoh added a commit that referenced this issue Aug 20, 2018
bozoh added a commit that referenced this issue Aug 20, 2018
@bozoh bozoh closed this as completed in 7cf7cfc Aug 20, 2018
bozoh added a commit that referenced this issue Aug 21, 2018
bozoh added a commit that referenced this issue Aug 21, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants