Webcam snapshot
Maintained by
Luuk Verhoeven, Vincent Cornelis, hamza tamyachte
This block allows users to make a profile picture with their webcam.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Can you check the latest moodle35 version on github?
https://github.com/MoodleFreak/moodle-block_mfavatar
Deleted users shouldn't need a new avatar, they will be skipped now. If you confirm it works correctly I will update the plugin on moodle.org
Cheers,
Luuk
Update user avatars
Execute scheduled task: Update user avatars (block_mfavatar\task\update_avatars)
... started 17:02:01. Current memory use 9.5MB.
... used 154 dbqueries
... used 1.1980068683624 seconds
Scheduled task failed: Update user avatars (block_mfavatar\task\update_avatars),Invalid user
Debug info:
SELECT id FROM {user} WHERE id = ? AND deleted = ?
[array (
0 => '6',
1 => 0,
)]
Backtrace:
* line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
* line 6124 of /lib/accesslib.php: call to moodle_database->get_record()
* line 191 of /blocks/mfavatar/classes/avatargenerator.php: call to context_user::instance()
* line 140 of /blocks/mfavatar/classes/avatargenerator.php: call to block_mfavatar\avatargenerator->save()
* line 163 of /blocks/mfavatar/classes/avatargenerator.php: call to block_mfavatar\avatargenerator->set_avatar_single_user()
* line 57 of /blocks/mfavatar/classes/task/update_avatars.php: call to block_mfavatar\avatargenerator->set_avatar_for_all_users()
* line 105 of /lib/cronlib.php: call to block_mfavatar\task\update_avatars->execute()
* line 297 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
* line 91 of /admin/tool/task/schedule_task.php: call to cron_run_single_task()
Any assistance will be greatly appreciated!
Cheers,
Ray
Block permission are:
Block: MoodleFreak Avatar
Add a avatar snapshot tool
block/mfavatar:addinstance - Inherit (Allow)
mfavatar:view
block/mfavatar:view - Inherit (Allow)
Block
Edit a block's settings
moodle/block:edit - Inherit (Not set)
View block
moodle/block:view - Inherit (Allow)