I have debugging at DEVELOPER level, nothing reported there. Any idea where this 'rev' thing comes from?
Edit: An upgrade to Moodle 3.5.13 (Build: 20200713) did not help.
These dozen users ... did they use Moodle's default icon for a user or did they upload a pic of their own? f1.png was default icon for a user if I re-call correctly. Those had a 'shadow person' for lack of an official description ... one was thumb for forums one was full for profile.
URL to the pic in profile of a user ended with
when you just viewed the image while looking at the profile.
What do you get/see with the following query:
select * from `mdl_files` where `filename` like "%f1%"
You might have to target the query by finding something similar or unique to those dozen users to see the diff's.
Dunno, really ...
Thanks! Yes, I thought, I saw this f1 somewhere. ;)
Anyway the broken links are like https://example.com/pluginfile.php/597/user/icon/boost/f1?rev=3143. Note that there is no png, jpeg, ... and this offending rev=number. When I enter https://example.com/pluginfile.php/597/user/icon/boost/f1 (note, no png, jpag, ..) directly in to the browser, I see the picture.
Yes, they have uploaded a real picture, not that "shadow", at least the handful I checked.
I ran 'SELECT filename, filepath, userid from mdl_files WHERE filename LIKE "f1%"' and got a tone (180) records like
| / | f1.jpg | NULL |
| / | f1.png | NULL |
Notice that there are both jpg and png.
This could be something falling from the previous theme. The version I upgraded, 3.1, ran Afterburner.
Not sure that user icons were always .png's ... uploads would accept .jpg's and then images would be appropriately sized ... one for profile and one used as a smaller version in forums. Something like that ... so the rev thang you are seeing might be related.
Sorry ... don't have a fix for ya! :| ... don't have a site where that issue has been reported (not that sites don't have problems ... users just haven't discovered and reported that particular issue.).